mfr: this.data.InMenu gibt error, deswegen wieder raus sorry @airmake

This commit is contained in:
Luke
2021-05-14 01:01:56 +02:00
parent 5527c42040
commit 09bd4357fd

View File

@@ -30,7 +30,6 @@ export default class InputHelper {
show() {
if (this.created) return;
this.data.InMenu = true;
this.created = true;
this.browser = mp.browsers.new('package://assets/html/inputhelper/index.html');
mp.gui.cursor.show(true, true);
@@ -44,11 +43,9 @@ export default class InputHelper {
mp.events.remove('cef_request_title');
mp.events.remove('closeinputhelper');
this.browser.destroy();
this.data.InMenu = false;
this.created = false;
this.browser = null;
mp.gui.cursor.show(false, false);
}
}