Browse Source

Remove file

customisations
alemart 3 months ago
parent
commit
5882898e81
2 changed files with 0 additions and 139 deletions
  1. 0
    6
      src/core/hud.ts
  2. 0
    133
      src/ui/support-widget.ts

+ 0
- 6
src/core/hud.ts View File

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

+ 0
- 133
src/ui/support-widget.ts
File diff suppressed because it is too large
View File


Loading…
Cancel
Save