Fix some bugs

This commit is contained in:
Flashfyre committed 2023-04-30 00:51:33 -04:00
1 parent fc4f98b203
commit c6d9816318
5 files changed
+36 -19

No files matched your search

+2 -2
View File
@@ -113,14 +113,14 @@ export default class CommandUiHandler extends UiHandler {
return ret;
}
clear() {
clear(): void {
super.clear();
this.commandsContainer.setVisible(false);
this.getUi().getMessageHandler().clearText();
this.eraseCursor();
}
eraseCursor() {
eraseCursor(): void {
if (this.cursorObj)
this.cursorObj.destroy();
this.cursorObj = null;