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

New Features: Toggling shape visibility on right click; Support constrained shape rotating #1324

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lyxok1
Copy link

@lyxok1 lyxok1 commented Sep 2, 2023

Feature 1: Support shape visibility toggling on right click menu

Motivation: allowing quickly show/hide annotation shapes on right click; instead of frequently moving to the View menu and toggling it.

  • a video example
toggle.mp4

Feature 2: Support shape rotation

Motivation: allowing shape rotation aound its center point as original

  • Support rotating the selected shapes by pressing key R and then moving the mouse up and down

  • Render the rotation center of each shape during adjustment of rotation

  • Block the hovering or highlighting behavior when some shapes are being rotated

  • Constrain the rotation when the rotated shapes go out of the pixelmap

  • Get out the rotation mode and go back to normal edit mode by press key esc or key R again

  • a video example

rotate.mp4

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.

1 participant