Fix bug with mouse events in scripts without tools.

This commit is contained in:
Jürg Lehni 2016-01-15 23:45:58 +01:00
parent 884a0c54ad
commit 1bc2d2fffe

View file

@ -1078,7 +1078,7 @@ new function() { // Injection scope for mouse events on the browser
function responds(type) {
return view._itemEvents[type] || view.responds(type)
|| tool.responds(type);
|| tool && tool.responds(type);
}
if (called && (!nativeMove || responds('mousedrag'))