From df6a723e83877aa61a79301953aa643caf3685d0 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Fri, 17 Feb 2023 16:40:46 -0800 Subject: [PATCH] chore(ripple): remove directive click handler PiperOrigin-RevId: 510550957 --- ripple/directive.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ripple/directive.ts b/ripple/directive.ts index 619c1558a8..d5de034b7d 100644 --- a/ripple/directive.ts +++ b/ripple/directive.ts @@ -28,7 +28,6 @@ class RippleDirective extends Directive { private checkBoundsAfterContextMenu = false; private rippleStartEvent: PointerEvent|null = null; private touchTimer: number|null = null; - private clickTimer: number|null = null; constructor(partInfo: PartInfo) { super(partInfo); @@ -139,10 +138,6 @@ class RippleDirective extends Directive { clearTimeout(this.touchTimer); this.touchTimer = null; } - if (this.clickTimer) { - clearTimeout(this.clickTimer); - this.clickTimer = null; - } } private waitForTouchHold(ripple: Ripple) {