mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
parent
8185cc07e7
commit
52af99de6b
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
|
|||
clickTime = Date.now();
|
||||
if (!doubleClick
|
||||
// callEvent returns false if event is stopped.
|
||||
|| callEvent('doubleclick', event, downPoint, overItem))
|
||||
callEvent('click', event, downPoint, overItem);
|
||||
|| callEvent('doubleclick', event, downPoint, item))
|
||||
callEvent('click', event, downPoint, item);
|
||||
doubleClick = false;
|
||||
}
|
||||
downItem = null;
|
||||
|
|
Loading…
Reference in a new issue