|
@@ -136,6 +136,13 @@ export class HUD
|
136
|
136
|
this.#fullscreenButton.init(parent, wantFullscreenButton);
|
137
|
137
|
this.#supportWidget.init(parent);
|
138
|
138
|
|
|
139
|
+ for(const element of parent.children as any as HTMLElement[]) {
|
|
140
|
+ if(element.style.getPropertyValue('pointer-events') == '')
|
|
141
|
+ element.style.pointerEvents = 'auto'; // accept pointer input
|
|
142
|
+ if(element.style.getPropertyValue('z-index') == '')
|
|
143
|
+ element.style.zIndex = '1000000';
|
|
144
|
+ }
|
|
145
|
+
|
139
|
146
|
const container = this._container;
|
140
|
147
|
container.style.position = 'absolute';
|
141
|
148
|
container.style.left = container.style.top = '0px';
|