aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorhwc4872012-02-01 15:11:21 -0800
committerhwc4872012-02-01 15:11:21 -0800
commit11db5a63bda57c630eaf1d8baded9b79ca7ac1f2 (patch)
tree05bdf1bd8d21d9865e1441e1e01bdeb92df9bf61 /js
parent823945a2bcb42bbf9c6a1cd0ef723b8f415e557f (diff)
downloadninja-11db5a63bda57c630eaf1d8baded9b79ca7ac1f2.tar.gz
listen for the appMouseUp event in the Pan tool
Diffstat (limited to '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 },