mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 13:26:07 +08:00
fix dblclick and dbltap triggers. fix #917
This commit is contained in:
@@ -608,6 +608,7 @@ export class Stage extends Container<Layer> {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.clickEndShape = null;
|
||||
this._fire(MOUSEUP, {
|
||||
evt: evt,
|
||||
target: this,
|
||||
@@ -816,6 +817,7 @@ export class Stage extends Container<Layer> {
|
||||
}
|
||||
|
||||
if (Konva.listenClickTap && !tapTriggered) {
|
||||
this.clickEndShape = null;
|
||||
this._fire(TAP, {
|
||||
evt: evt,
|
||||
target: this,
|
||||
|
||||
Reference in New Issue
Block a user