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

Debounce & optimize zooming and out #54

Open
sandstone991 opened this issue Aug 20, 2023 · 0 comments
Open

Debounce & optimize zooming and out #54

sandstone991 opened this issue Aug 20, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers p1-mid Priority Mid

Comments

@sandstone991
Copy link
Member

Right now, on every zoom action all the elements that has a cache canvas gets regenerated which is not ideal.
Ideal behaviour would be like so.

  • Regeneration is debounced for say 100ms this will prevent successive unecessary regenerations
  • Use the old element with the right scale in the period where the cache element's zoom is not the same as the global zoom but the action is still in the debounced state
  • Maybe lazy regenerate meaning if 10000 elements are of the screen and 100 are on the screen, regenerate the 100 that are on the screen only
@sandstone991 sandstone991 added enhancement New feature or request good first issue Good for newcomers p1-mid Priority Mid labels Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p1-mid Priority Mid
Projects
None yet
Development

No branches or pull requests

1 participant