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

SVG Resizing #97

Merged
merged 3 commits into from
Mar 4, 2025
Merged

SVG Resizing #97

merged 3 commits into from
Mar 4, 2025

Conversation

NoraKri
Copy link
Contributor

@NoraKri NoraKri commented Feb 28, 2025

Aim of the PR

This PR fixes AB#240703

This PR aims to create a somewhat better user experience when interacting with the SVG.

Implementation

Previously, the SVG container should have updated its size whenever the user resized the window. This did not work as expected and led to some jankiness.

I removed the SVG resizing, because it led to the zoom level resetting every time you resized the window. Now, the SVG expands to fill the available space on mount, and then you change the size by zooming in and out.

The toolbar is also removed, but I kept the "minimap" for now.

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • This change requires a documentation update

If the changes impact any dependent services then provide details.

How Has This Been Tested?

Please describe the tests that you ran to verify that your changes works as expected.

Additional Changes

  • Removed unused packages

@markus-ap
Copy link
Contributor

markus-ap commented Feb 28, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@JohannesETelle JohannesETelle merged commit 3ebeda5 into main Mar 4, 2025
6 checks 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.

3 participants