mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
pass evt into contentMouseDown and contentMouseUp event
This commit is contained in:
parent
1965f61da2
commit
ecde9a5d84
@ -434,7 +434,7 @@
|
||||
}
|
||||
|
||||
// content event
|
||||
this._fire(CONTENT_MOUSEDOWN);
|
||||
this._fire(CONTENT_MOUSEDOWN, evt);
|
||||
|
||||
// always call preventDefault for desktop events because some browsers
|
||||
// try to drag and drop the canvas element
|
||||
@ -474,7 +474,7 @@
|
||||
}
|
||||
}
|
||||
// content events
|
||||
this._fire(CONTENT_MOUSEUP);
|
||||
this._fire(CONTENT_MOUSEUP, evt);
|
||||
if (Kinetic.listenClickTap) {
|
||||
this._fire(CONTENT_CLICK, evt);
|
||||
if(fireDblClick) {
|
||||
|
Loading…
Reference in New Issue
Block a user