mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix issue with displaying Stats.
This commit is contained in:
parent
dba5a8a9e7
commit
67d969ba56
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ var View = Base.extend(Callback, /** @lends View# */{
|
|||
element.height = size.height;
|
||||
// TODO: Test this on IE:
|
||||
if (PaperScope.hasAttribute(element, 'stats')
|
||||
&& typeof Stats === 'object') {
|
||||
&& typeof Stats !== 'undefined') {
|
||||
this._stats = new Stats();
|
||||
// Align top-left to the element
|
||||
var stats = this._stats.domElement,
|
||||
|
|
Loading…
Reference in a new issue