Quellcode durchsuchen

minor change in GLStatsJS

master
Palash Bansal vor 1 Jahr
Ursprung
Commit
339c21547e
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 4
    2
      src/utils/GLStatsJS.ts

+ 4
- 2
src/utils/GLStatsJS.ts Datei anzeigen

@@ -1,9 +1,11 @@
import Stats from 'stats.js'

export class GLStatsJS {
private _stats: Stats = new Stats()
protected _stats: Stats = new Stats()
protected _container: HTMLElement

constructor(private _container: HTMLElement) {
constructor(container: HTMLElement) {
this._container = container
this._stats.dom.id = 'stats-js'
this._stats.dom.style.position = 'absolute'
this._stats.dom.style.left = 'unset'

Laden…
Abbrechen
Speichern