Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ameliorate lag in the legend UI #98

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

WillHannon-MCB
Copy link
Contributor

There is a significant amount of lag when selecting conditions on the chart. Some of this has to do with the logic of the application. This pull request does the following:

  1. The legend is automatically updated by requesting animation frames before updating the application state.
  2. Selecting single conditions is expedited by adding an event listener for double-click events.

The consequence of these changes is that the legend appears less laggy and the user can select a single condition while deselecting all others by double-clicking on that condition in the legend.

@WillHannon-MCB WillHannon-MCB linked an issue Nov 9, 2024 that may be closed by this pull request
@WillHannon-MCB WillHannon-MCB merged commit 8606c3d into main Nov 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

be able to select just one condition to show lineplot for
1 participant