Sfoglia il codice sorgente

minor change in GLStatsJS

master
Palash Bansal 1 anno fa
parent
commit
339c21547e
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4
    2
      src/utils/GLStatsJS.ts

+ 4
- 2
src/utils/GLStatsJS.ts Vedi File

@@ -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'

Loading…
Annulla
Salva