mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 22:39:31 +02:00
small cleanup
This commit is contained in:
parent
341332c55d
commit
f4de91d9ff
@ -352,7 +352,6 @@ export default class AbstractSettingsUiHandler extends MessageUiHandler {
|
|||||||
if (settingIndex === -1) {
|
if (settingIndex === -1) {
|
||||||
settingIndex = this.cursor + this.scrollCursor;
|
settingIndex = this.cursor + this.scrollCursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
const setting = this.settings[settingIndex];
|
const setting = this.settings[settingIndex];
|
||||||
|
|
||||||
const lastCursor = this.optionCursors[settingIndex];
|
const lastCursor = this.optionCursors[settingIndex];
|
||||||
@ -463,8 +462,7 @@ export default class AbstractSettingsUiHandler extends MessageUiHandler {
|
|||||||
this.cursorObj = null;
|
this.cursorObj = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
showText(text: string, delay?: integer, callback?: Function, callbackDelay?: integer, prompt?: boolean, promptDelay?: integer) {
|
override showText(text: string, delay?: integer, callback?: Function, callbackDelay?: integer, prompt?: boolean, promptDelay?: integer) {
|
||||||
console.log("HELLO");
|
|
||||||
this.messageBoxContainer.setVisible(!!text?.length);
|
this.messageBoxContainer.setVisible(!!text?.length);
|
||||||
super.showText(text, delay, callback, callbackDelay, prompt, promptDelay);
|
super.showText(text, delay, callback, callbackDelay, prompt, promptDelay);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user