Skip to content

Commit

Permalink
remove explicit initialization of context.stickyState
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Rivière <[email protected]>
  • Loading branch information
yurivish and Fil authored Feb 5, 2024
1 parent 91000aa commit 138b917
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 138b917

Please sign in to comment.