No need to call DomEvent.stop() in these handlers, as selectstart handles it all.

This commit is contained in:
Jürg Lehni 2011-06-21 00:42:39 +01:00
parent e0f13dd3a0
commit 9ac63831d7

View file

@ -382,7 +382,6 @@ var View = this.View = Base.extend({
}
function mousemove(event) {
DomEvent.stop(event);
if (!view || !(tool = view._scope.tool))
return;
// If the event was triggered by a touch screen device, prevent the
@ -413,7 +412,6 @@ var View = this.View = Base.extend({
timer = clearInterval(timer);
if (tool.onHandleEvent('mouseup', viewToArtwork(event), event))
view.draw(true);
DomEvent.stop(event);
}
}