소스 검색

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…
취소
저장