Need to prefix performance with window (#922)

This commit is contained in:
jberg 2019-09-10 09:44:43 -07:00 committed by Jordan Eldredge
parent 6f7cb02bf1
commit 65c419926a

View file

@ -39,7 +39,7 @@ class Timer extends MakiObject {
}
start(): void {
this._animationStartTime = performance.now();
this._animationStartTime = window.performance.now();
this._animationLoop();
}