mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Added FILTER_BAR_MAIN TextStyle
This commit is contained in:
parent
4bc4aeee5d
commit
730170d4b3
@ -52,6 +52,7 @@ export enum TextStyle {
|
||||
STARTER_VALUE_LIMIT,
|
||||
TOOLTIP_TITLE,
|
||||
TOOLTIP_CONTENT,
|
||||
FILTER_BAR_MAIN,
|
||||
MOVE_INFO_CONTENT,
|
||||
MOVE_PP_FULL,
|
||||
MOVE_PP_HALF_FULL,
|
||||
@ -482,6 +483,20 @@ export function getTextStyleOptions(
|
||||
shadowYpos = 3;
|
||||
break;
|
||||
}
|
||||
case TextStyle.FILTER_BAR_MAIN: {
|
||||
switch (lang) {
|
||||
case "ja":
|
||||
styleOptions.fontSize = defaultFontSize - 48;
|
||||
styleOptions.padding = { top: 10, right: 10 };
|
||||
break;
|
||||
default:
|
||||
styleOptions.fontSize = defaultFontSize - 32;
|
||||
break;
|
||||
}
|
||||
shadowXpos = 3;
|
||||
shadowYpos = 3;
|
||||
break;
|
||||
}
|
||||
case TextStyle.STATS_HEXAGON:
|
||||
styleOptions.fontSize = defaultFontSize - 32;
|
||||
shadowXpos = 3;
|
||||
@ -583,6 +598,7 @@ export function getTextColor(textStyle: TextStyle, shadow?: boolean, uiTheme: Ui
|
||||
case TextStyle.MOVE_PP_FULL:
|
||||
case TextStyle.EGG_LIST:
|
||||
case TextStyle.TOOLTIP_CONTENT:
|
||||
case TextStyle.FILTER_BAR_MAIN:
|
||||
case TextStyle.STARTER_VALUE_LIMIT:
|
||||
case TextStyle.SETTINGS_VALUE:
|
||||
if (isLegacyTheme) {
|
||||
|
Loading…
Reference in New Issue
Block a user