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

Automatically adjust zoom when opening a structure #2128

Closed
Nitvex opened this issue Jan 25, 2023 · 0 comments · Fixed by #2802 or #2930
Closed

Automatically adjust zoom when opening a structure #2128

Nitvex opened this issue Jan 25, 2023 · 0 comments · Fixed by #2802 or #2930

Comments

@Nitvex
Copy link
Collaborator

Nitvex commented Jan 25, 2023

Is your feature request related to a problem? Please describe.
If a user works with large structures, they are not always fit the screen and canvas size.
It is required to automatically change zoom level to show whole opened structure. In addition, zoom level needs to be adjusted automatically if user pastes a structure to an empty canvas.

Additional requirements

  • Zoom level step is 1%
  • Minimal zoom level is 10%
  • Maximum zoom level is 100%

#184326364

@Nitvex Nitvex added this to the Release Candidate 2.9.0-rc.1 milestone Jan 25, 2023
@Nitvex Nitvex self-assigned this Jan 25, 2023
@Nitvex Nitvex changed the title Automatically adjust zoom when pasting a structure Automatically adjust zoom when opening a structure Jan 26, 2023
@rrodionov91 rrodionov91 assigned rrodionov91 and unassigned Nitvex Jun 27, 2023
rrodionov91 pushed a commit that referenced this issue Jun 27, 2023
- added method in editor to zoom according content
- added this method execution after drawing opened structure
rrodionov91 pushed a commit that referenced this issue Jun 27, 2023
- added method in editor to zoom according content
- added this method execution after drawing opened structure
Nitvex pushed a commit that referenced this issue Jul 6, 2023
- added method in editor to zoom according content
- added this method execution after drawing opened structure

Co-authored-by: Roman Rodionov <[email protected]>
@rrodionov91 rrodionov91 reopened this Jul 18, 2023
rrodionov91 added a commit that referenced this issue Jul 18, 2023
- added margin for structure autoscaling after import
rrodionov91 added a commit that referenced this issue Jul 18, 2023
#2128 - Automatically adjust zoom when opening a structure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment