aboutsummaryrefslogtreecommitdiff
path: root/js/tools/PanTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/PanTool.js')
-rw-r--r--js/tools/PanTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/PanTool.js b/js/tools/PanTool.js
index 73095c57..55a03674 100644
--- a/js/tools/PanTool.js
+++ b/js/tools/PanTool.js
@@ -44,6 +44,7 @@ exports.PanTool = Montage.create(toolBase,
44 HandleLeftButtonDown: { 44 HandleLeftButtonDown: {
45 value : function ( event ) { 45 value : function ( event ) {
46 this._isDrawing = true; 46 this._isDrawing = true;
47 this.isDrawing = true;
47 48
48 this.mouseDown( event ); 49 this.mouseDown( event );
49 } 50 }
@@ -69,6 +70,7 @@ exports.PanTool = Montage.create(toolBase,
69 this.application.ninja.stage.clearDrawingCanvas(); 70 this.application.ninja.stage.clearDrawingCanvas();
70 this._hasDraw = false; 71 this._hasDraw = false;
71 this._isDrawing = false; 72 this._isDrawing = false;
73 this.isDrawing = false;
72 } 74 }
73 } 75 }
74 }, 76 },