瀏覽代碼

Remove file

customisations
alemart 3 月之前
父節點
當前提交
5882898e81
共有 2 個檔案被更改,包括 0 行新增139 行删除
  1. 0
    6
      src/core/hud.ts
  2. 0
    133
      src/ui/support-widget.ts

+ 0
- 6
src/core/hud.ts 查看文件

@@ -23,7 +23,6 @@
23 23
 import { Viewport } from './viewport';
24 24
 import { StatsPanel } from '../ui/stats-panel';
25 25
 import { FullscreenButton } from '../ui/fullscreen-button';
26
-import { SupportWidget } from '../ui/support-widget';
27 26
 import { Nullable, Utils } from '../utils/utils';
28 27
 
29 28
 /** HUD container */
@@ -49,8 +48,6 @@ export class HUD
49 48
     /** Fullscreen button */
50 49
     #fullscreenButton: FullscreenButton;
51 50
 
52
-    /** Support widget */
53
-    #supportWidget: SupportWidget;
54 51
 
55 52
 
56 53
 
@@ -84,7 +81,6 @@ export class HUD
84 81
         // create internal components
85 82
         this.#statsPanel = new StatsPanel();
86 83
         this.#fullscreenButton = new FullscreenButton(viewport);
87
-        this.#supportWidget = new SupportWidget();
88 84
     }
89 85
 
90 86
     /**
@@ -134,7 +130,6 @@ export class HUD
134 130
         const parent = this._internalContainer;
135 131
         this.#statsPanel.init(parent, wantStatsPanel);
136 132
         this.#fullscreenButton.init(parent, wantFullscreenButton);
137
-        this.#supportWidget.init(parent);
138 133
 
139 134
         for(const element of parent.children as any as HTMLElement[]) {
140 135
             if(element.style.getPropertyValue('pointer-events') == '')
@@ -162,7 +157,6 @@ export class HUD
162 157
     {
163 158
         this._visible = false;
164 159
 
165
-        this.#supportWidget.release();
166 160
         this.#fullscreenButton.release();
167 161
         this.#statsPanel.release();
168 162
 

+ 0
- 133
src/ui/support-widget.ts
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存