From 138b91736bc2fa98e52db4dedad34d34388f1c80 Mon Sep 17 00:00:00 2001 From: Yuri Date: Mon, 5 Feb 2024 16:56:36 -0500 Subject: [PATCH] remove explicit initialization of context.stickyState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Philippe Rivière --- src/plot.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plot.js b/src/plot.js index 9deb4f82f0..f16ac5f58d 100644 --- a/src/plot.js +++ b/src/plot.js @@ -178,8 +178,6 @@ export function plot(options = {}) { } } - context.stickyState = undefined; - // Allows e.g. the pointer transform to support viewof. context.dispatchValue = (value, sticky) => { if (figure.value === value && context.stickyState === sticky) return;