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

Macro: "Zoom" tool #2369

Closed
KsenMs opened this issue Mar 16, 2023 · 3 comments · Fixed by #3476
Closed

Macro: "Zoom" tool #2369

KsenMs opened this issue Mar 16, 2023 · 3 comments · Fixed by #3476

Comments

@KsenMs
Copy link
Collaborator

KsenMs commented Mar 16, 2023

  1. There is a zoom button
  2. Zoom button has 3 options
  • zoom in
  • zoom out
  • 100%
  1. When user clicks to zoom in, system zooms in to the center of the current view (limits and step similar to ketcher)
  2. When user clicks to zoom out, system zooms out of the center of the current view (limits and step similar to ketcher)
  3. When user clicks 100% the system returns to 100% scale
@KsenMs KsenMs changed the title "Zoom" tool - draft "Zoom" tool Apr 27, 2023
@KsenMs KsenMs removed the draft label Apr 27, 2023
@OlZhur OlZhur added this to the Polymer Editor MVP milestone Apr 28, 2023
Nitvex added a commit that referenced this issue Oct 10, 2023
@rrodionov91 rrodionov91 assigned StarlaStarla and unassigned Nitvex Oct 10, 2023
@OlZhur OlZhur changed the title "Zoom" tool [Macro] "Zoom" tool Oct 16, 2023
StarlaStarla added a commit that referenced this issue Oct 20, 2023
StarlaStarla added a commit that referenced this issue Oct 20, 2023
StarlaStarla added a commit that referenced this issue Oct 20, 2023
StarlaStarla added a commit that referenced this issue Oct 20, 2023
@StarlaStarla StarlaStarla linked a pull request Oct 20, 2023 that will close this issue
9 tasks
@MartaWilliams
Copy link
Collaborator

Tested

@rrodionov91 rrodionov91 changed the title [Macro] "Zoom" tool Macro: "Zoom" tool Nov 2, 2023
StarlaStarla added a commit that referenced this issue Nov 2, 2023
StarlaStarla added a commit that referenced this issue Nov 2, 2023
StarlaStarla added a commit that referenced this issue Nov 3, 2023
rrodionov91 added a commit that referenced this issue Nov 7, 2023
* #2369 add zoom menu and fix coordinates conversion
* #2369 update rotation logic for attachment point
* #2369 enhance & fix coordinates
* #2360 add scrollbars for zoom
* #2369 add shift for horizontal scroll
* #2369 fix tests

---------

Co-authored-by: Roman Rodionov <[email protected]>
chgayane pushed a commit that referenced this issue Nov 8, 2023
* #2369 add zoom menu and fix coordinates conversion
* #2369 update rotation logic for attachment point
* #2369 enhance & fix coordinates
* #2360 add scrollbars for zoom
* #2369 add shift for horizontal scroll
* #2369 fix tests

---------

Co-authored-by: Roman Rodionov <[email protected]>
@Zhirnoff
Copy link
Collaborator

Manual tests added to the Automation table

@AnastasiyaPiatrovaKlu
Copy link
Collaborator

AnastasiyaPiatrovaKlu commented Nov 21, 2023

Tested and passed.
'When a user clicks 100% the system returns to 100% scale' - no such a button '100%' in Macromoleculs mode yet.

Figma design:
https://www.figma.com/file/MZ28kJRelnXvBodXu54UKh/Macromolecules-(Polymer-Editor)-Playground?type=design&node-id=4467-98265&mode=design&t=G1VsmAPp7qk44nny-0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants