Просмотр исходного кода

minor change in GLStatsJS

master
Palash Bansal 1 год назад
Родитель
Сommit
339c21547e
Аккаунт пользователя с таким Email не найден
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'

Загрузка…
Отмена
Сохранить