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

[Dev] Add selection tool #60

Open
dscyrescotti opened this issue Jul 5, 2024 · 0 comments
Open

[Dev] Add selection tool #60

dscyrescotti opened this issue Jul 5, 2024 · 0 comments
Assignees

Comments

@dscyrescotti
Copy link
Owner

Description

So far, the canvas is missing selection tool which allows to pick an element or elements and perform move, scale (if it is photo) and delete. Even though the requirements are well defined, it might be super large and complicated because it has ton of unexpected edge cases (I cannot think of) and potential conflict with existing render pipeline.

The basic goals for selection tool are defined as follows.

  1. It should select one or more elements on canvas (i.e. if the user taps on a particular element, it will select top most element while if the user drags on canvas to create certain area, it will selects all elements underneath)
  2. After selection, the user are allowed to move around elements as they want.
  3. If the selected element is pen stroke, it may needs to carry all eraser strokes it belongs along with it.
  4. If the selected element is photo, it allows the user to resize the photo frame as they want.
@dscyrescotti dscyrescotti self-assigned this Jul 5, 2024
@dscyrescotti dscyrescotti converted this from a draft issue Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 Todo
Development

No branches or pull requests

1 participant