Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/assets/opensb/interface/chat
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-21 00:59:41 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-21 00:59:41 +1000
commitbd783d319557b41b5865d51f306a74abbf7af18c (patch)
tree5acefc369e7cbc42a1226efb0c28efb9a3d6830e /assets/opensb/interface/chat
parent9b75bd8eb280eb108d9eeef7a17c083a883155c7 (diff)
make the chat really pretty!!
also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText
Diffstat (limited to 'assets/opensb/interface/chat')
-rw-r--r--assets/opensb/interface/chat/chat.config.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/opensb/interface/chat/chat.config.patch b/assets/opensb/interface/chat/chat.config.patch
new file mode 100644
index 0000000..9c69e4a
--- /dev/null
+++ b/assets/opensb/interface/chat/chat.config.patch
@@ -0,0 +1,17 @@
+{
+ "config" : {
+ "font" : {
+ "directives" : "",
+ "padding" : [0, 0] // Padding to prevent border clipping at the edges of the log canvas while keeping compatible with mods that patch the canvas size
+ },
+ "colors" : {
+ "local" : "^white;",
+ "party" : "^blue;",
+ "broadcast" : "^yellow;",
+ "whisper" : "^pink;",
+ "commandResult" : "^lightgray;",
+ "radioMessage" : "^cyan;",
+ "world" : "^cyan;"
+ }
+ }
+}