Added noto font, fixed bug in Join Server button

This commit is contained in:
2021-11-22 13:15:19 -06:00
parent 8c8a051034
commit 3a269cbaae
8 changed files with 111 additions and 15 deletions

View File

@@ -1,4 +1,7 @@
class W3DHub
REGULAR_FONT = "#{GAME_ROOT_PATH}/media/fonts/NotoSans-Regular.ttf"
BOLD_FONT = "#{GAME_ROOT_PATH}/media/fonts/NotoSans-Bold.ttf"
THEME = {
ToolTip: {
background: 0xff_dedede,
@@ -8,7 +11,7 @@ class W3DHub
text_shadow: false
},
TextBlock: {
# font: "Inconsolata",
font: BOLD_FONT,
text_border: false,
text_shadow: true,
text_shadow_size: 1,