From f7da637ace74f0f2e156088bdad77639360bbd98 Mon Sep 17 00:00:00 2001 From: yinlijun2004 Date: Wed, 9 Nov 2016 16:28:33 +0800 Subject: [PATCH] Do not set widget state to WidgetState.NORMAL since this will be done in Widget.prototype.dispatchPointerLeave. --- src/controls/widget.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controls/widget.ts b/src/controls/widget.ts index a457533..3410552 100644 --- a/src/controls/widget.ts +++ b/src/controls/widget.ts @@ -360,7 +360,6 @@ export class Widget extends Emitter { this.onpointermove(evt); } this.dispatchEvent(evt, false); - this.state = WidgetState.NORMAL; } ctx.restore();