Преглед изворни кода

minor change in GLStatsJS

master
Palash Bansal пре 1 година
родитељ
комит
339c21547e
No account linked to committer's email address
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4
    2
      src/utils/GLStatsJS.ts

+ 4
- 2
src/utils/GLStatsJS.ts Прегледај датотеку

@@ -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…
Откажи
Сачувај