瀏覽代碼

minor change in GLStatsJS

master
Palash Bansal 1 年之前
父節點
當前提交
339c21547e
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存