diff --git a/src/io/mouse.js b/src/io/mouse.js index 95470dc2..7427ebaa 100644 --- a/src/io/mouse.js +++ b/src/io/mouse.js @@ -4,6 +4,8 @@ class Mouse { constructor (runtime) { this._clientX = 0; this._clientY = 0; + this._scratchX = 0; + this._scratchY = 0; this._buttons = new Set(); this.usesRightClickDown = false; this._isDown = false;