mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 13:26:07 +08:00
fix mouseleave on stage. close #811
This commit is contained in:
@@ -443,6 +443,7 @@ export class Stage extends Container<BaseLayer> {
|
||||
if (targetShape && eventsEnabled) {
|
||||
targetShape._fireAndBubble(MOUSEOUT, { evt: evt });
|
||||
targetShape._fireAndBubble(MOUSELEAVE, { evt: evt });
|
||||
this._fire(MOUSELEAVE, { evt: evt, target: this, currentTarget: this });
|
||||
this.targetShape = null;
|
||||
} else if (eventsEnabled) {
|
||||
this._fire(MOUSELEAVE, {
|
||||
|
||||
Reference in New Issue
Block a user