Added new TextStyle

This commit is contained in:
Lugiad 2025-06-25 22:50:51 +02:00 committed by GitHub
parent 0adbad7920
commit f9bdb4f41f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ export default class CommandUiHandler extends UiHandler {
this.commandsContainer.add(this.teraButton);
for (let c = 0; c < commands.length; c++) {
const commandText = addTextObject(c % 2 === 0 ? 0 : 55.8, c < 2 ? 0 : 16, commands[c], TextStyle.WINDOW);
const commandText = addTextObject(c % 2 === 0 ? 0 : 55.8, c < 2 ? 0 : 16, commands[c], TextStyle.WINDOW_BATTLE_COMMAND);
commandText.setName(commands[c]);
this.commandsContainer.add(commandText);
}