@hscmap/inertial-mouse
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -63,6 +63,3 @@ "use strict"; | ||
var _this = this; | ||
this.rafId = requestAnimationFrame(function () { | ||
_this.rafId = undefined; | ||
_this.tick(); | ||
}); | ||
this.rafId = requestAnimationFrame(function () { return _this.tick(); }); | ||
}; | ||
@@ -69,0 +66,0 @@ InertialMouse.prototype.tick = function () { |
{ | ||
"name": "@hscmap/inertial-mouse", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
@@ -77,6 +77,3 @@ export class Coord { | ||
private nextTick() { | ||
this.rafId = requestAnimationFrame(() => { | ||
this.rafId = undefined | ||
this.tick() | ||
}) | ||
this.rafId = requestAnimationFrame(() => this.tick()) | ||
} | ||
@@ -83,0 +80,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18482
406