mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix bug with mouse events in scripts without tools.
This commit is contained in:
parent
884a0c54ad
commit
1bc2d2fffe
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue