From 11db5a63bda57c630eaf1d8baded9b79ca7ac1f2 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Wed, 1 Feb 2012 15:11:21 -0800 Subject: listen for the appMouseUp event in the Pan tool --- js/tools/PanTool.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js') 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, HandleLeftButtonDown: { value : function ( event ) { this._isDrawing = true; + this.isDrawing = true; this.mouseDown( event ); } @@ -69,6 +70,7 @@ exports.PanTool = Montage.create(toolBase, this.application.ninja.stage.clearDrawingCanvas(); this._hasDraw = false; this._isDrawing = false; + this.isDrawing = false; } } }, -- cgit v1.2.3