remove logging in critical path
This commit is contained in:
parent
a6fa45b2e0
commit
9305ae2384
@ -97,7 +97,6 @@ export class ChromeBadge implements Badge {
|
|||||||
start = timestamp;
|
start = timestamp;
|
||||||
}
|
}
|
||||||
let delta = (timestamp - start);
|
let delta = (timestamp - start);
|
||||||
console.log("rotating by", timestamp);
|
|
||||||
if (!this.isBusy && this.rotationAngle + delta >= ChromeBadge.rotationAngleMax) {
|
if (!this.isBusy && this.rotationAngle + delta >= ChromeBadge.rotationAngleMax) {
|
||||||
// stop if we're close enough to origin
|
// stop if we're close enough to origin
|
||||||
this.rotationAngle = 0;
|
this.rotationAngle = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user