Skip to content

Conversation

@nwittwer
Copy link
Collaborator

@nwittwer nwittwer commented Mar 3, 2023

  • Automatically scale & pan on startup based on content size
  • When you click on an artboard in the side panel, the canvas should move to show that artboard in the center of the viewport

Alternative approach w/ transform-origin: 0 0: #239

@nwittwer
Copy link
Collaborator Author

nwittwer commented Mar 16, 2023

NOTE: The clicking on an artboard in the side panel -> show that artboard zoomed in at the center of the screen is not fully working correctly. It does not always move the element to exact center, especially as more artboards are added.

Also, it does not zoom in to fit the artboard.

@nwittwer nwittwer merged commit 5e0d7a1 into dev Mar 16, 2023
@nwittwer nwittwer deleted the improvement/panzoom branch March 16, 2023 10:39
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.

2 participants