Trigger js_update on self

This commit is contained in:
Jordan Eldredge 2019-09-17 07:10:58 -07:00
parent eb815d2ed1
commit 5f2f12cdd4
2 changed files with 4 additions and 4 deletions

View file

@ -21,12 +21,12 @@ class Container extends MakiObject {
show(): void {
this.visible = true;
this.parent.js_trigger("js_update");
this.js_trigger("js_update");
}
hide(): void {
this.visible = false;
this.parent.js_trigger("js_update");
this.js_trigger("js_update");
}
setxmlparam(param: string, value: string): void {

View file

@ -113,12 +113,12 @@ class GuiObject extends MakiObject {
show(): void {
this.visible = true;
this.parent.js_trigger("js_update");
this.js_trigger("js_update");
}
hide(): void {
this.visible = false;
this.parent.js_trigger("js_update");
this.js_trigger("js_update");
}
gettop(): number {