Explorar el Código

minor change in GLStatsJS

master
Palash Bansal hace 1 año
padre
commit
339c21547e
No account linked to committer's email address
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4
    2
      src/utils/GLStatsJS.ts

+ 4
- 2
src/utils/GLStatsJS.ts Ver fichero

import Stats from 'stats.js' import Stats from 'stats.js'


export class GLStatsJS { 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.id = 'stats-js'
this._stats.dom.style.position = 'absolute' this._stats.dom.style.position = 'absolute'
this._stats.dom.style.left = 'unset' this._stats.dom.style.left = 'unset'

Cargando…
Cancelar
Guardar