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

Updating Current View Coordinates #11

Open
tinchox5 opened this issue Oct 11, 2024 · 1 comment
Open

Updating Current View Coordinates #11

tinchox5 opened this issue Oct 11, 2024 · 1 comment

Comments

@tinchox5
Copy link
Member

Description: Explore a method to update the current view coords when the viewport changes and affects the previous views.
Options:

  • Implement an Observer on the CSS variable values of the previous views to automatically update the current view.
  • Use an observer tied to getClientBoundingRect() of the previous views to recalculate the current view coordinates in real-time.
  • Split the zoomIn function into zoomIn and updateCoords to better manage updates.

Objective: Ensure the coordinates are dynamically updated based on changes in the viewport.

@tinchox5
Copy link
Member Author

We made some improvements to allow coordinates recalculation when zumly canvas changes its size. Those changes will be merged when smae level navigation will be ready

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

No branches or pull requests

1 participant