From c6b5b11b1e49ce48a3943c6a4909245ca38331cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 15 Feb 2011 22:32:05 +0000 Subject: [PATCH] Use dragstart event instead of mousedown, to go with drag and dragend. --- src/tool/Tool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool/Tool.js b/src/tool/Tool.js index 7b1a7707..926d9c88 100644 --- a/src/tool/Tool.js +++ b/src/tool/Tool.js @@ -13,7 +13,7 @@ Tool = ToolHandler.extend({ this._document = doc || Paper.document; var that = this, curPoint; var events = { - mousedown: function(e) { + dragstart: function(e) { curPoint = new Point(e.offset); that.onHandleEvent('MOUSE_DOWN', curPoint, null, null); if(that.onMouseDown)