mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 17:09:26 +02:00
[UI/UX] HEADER_LABEL
TextStyle Fix (#6089)
This commit is contained in:
parent
d22a4d5c9f
commit
362dd9e2b9
@ -319,10 +319,14 @@ export function getTextStyleOptions(
|
|||||||
case TextStyle.MESSAGE:
|
case TextStyle.MESSAGE:
|
||||||
styleOptions.fontSize = defaultFontSize;
|
styleOptions.fontSize = defaultFontSize;
|
||||||
break;
|
break;
|
||||||
case TextStyle.HEADER_LABEL:
|
case TextStyle.HEADER_LABEL: {
|
||||||
styleOptions.fontSize = defaultFontSize;
|
switch (lang) {
|
||||||
styleOptions.padding = { top: 6 };
|
case "ja":
|
||||||
|
styleOptions.padding = { top: 6 };
|
||||||
|
break;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case TextStyle.SETTINGS_VALUE:
|
case TextStyle.SETTINGS_VALUE:
|
||||||
case TextStyle.SETTINGS_LABEL: {
|
case TextStyle.SETTINGS_LABEL: {
|
||||||
shadowXpos = 3;
|
shadowXpos = 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user