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

Board: Zooming stage relative to pointer position/center #28

Open
kanarelo opened this issue Oct 14, 2021 · 0 comments
Open

Board: Zooming stage relative to pointer position/center #28

kanarelo opened this issue Oct 14, 2021 · 0 comments
Labels
backlog feature request New feature request

Comments

@kanarelo
Copy link

kanarelo commented Oct 14, 2021

Currently as it is, the app developer is in-charge of the zooming functionality. Without the snap to grid/shape functionality, using the keyboard becomes the only option, while keeping track of the x and y variables.

I am not sure if we have a keyboard shortcut map, but that can also be added later.

As seen in this Konva.js demo.

In this functionality, we want the area around the canvas to be part of the <canvas/>, instead of the current <div>.

  • the current shape/board, or background image/overlay should lose focus/selection when i click outside the stage.
  • We can have a minimum/maximum zooming threshold.
  • We only support one stage/board at the moment, and its always the center of focus.
  • We add zooming functionality and a way of accessing the current zooming states
  • We add "Zoom To" functionality (Actual Size, Fit Canvas)

We can break down this to smaller issues, if we get to that point, or if this feature is within Pikaso's focus.

If we can have this feature, it would be easy to create a feature such as:

  • Zooming and Panning, which will add more functionality like Zoom to Selection, and Zoom to Stage/Board.
@raminious raminious added the feature request New feature request label Oct 14, 2021
@raminious raminious added this to the v2.5.0 milestone Oct 14, 2021
@raminious raminious removed this from the v2.5.0 milestone Mar 18, 2022
@raminious raminious mentioned this issue Jul 19, 2023
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants