Updated IV scanner legacy theme text colour (#3637)

This commit is contained in:
Opaque02 2024-08-28 04:03:29 +10:00 committed by GitHub
parent 52b07954e5
commit 7f76739591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -252,9 +252,8 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
textStyle = TextStyle.SUMMARY_GREEN; textStyle = TextStyle.SUMMARY_GREEN;
} }
} else { } else {
textStyle = TextStyle.SUMMARY; textStyle = TextStyle.WINDOW;
} }
//const textStyle: TextStyle = isBetter ? TextStyle.SUMMARY_GREEN : TextStyle.SUMMARY;
const color = getTextColor(textStyle, false, uiTheme); const color = getTextColor(textStyle, false, uiTheme);
return `[color=${color}][shadow=${getTextColor(textStyle, true, uiTheme)}]${text}[/shadow][/color]`; return `[color=${color}][shadow=${getTextColor(textStyle, true, uiTheme)}]${text}[/shadow][/color]`;
}; };