Use dragstart event instead of mousedown, to go with drag and dragend.

This commit is contained in:
Jürg Lehni 2011-02-15 22:32:05 +00:00
parent 2b626be502
commit c6b5b11b1e

View file

@ -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)