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

Zooming / panning an image. #12

Closed
10 of 11 tasks
THEGOLDENPRO opened this issue Oct 9, 2024 · 2 comments · Fixed by #19
Closed
10 of 11 tasks

Zooming / panning an image. #12

THEGOLDENPRO opened this issue Oct 9, 2024 · 2 comments · Fixed by #19
Assignees
Labels
enhancement New feature or request

Comments

@THEGOLDENPRO
Copy link
Member

THEGOLDENPRO commented Oct 9, 2024

This used to be present in the tauri react version of the app but since I began working on the native version it hasn't been re-added.

  • Implement zooming in / out.
  • Implement panning / dragging an image.

At egui they made a quick example project showing how they implemented a zoom / panning widget. My plan is to rewrite that into roseate.

I think this is how we can do it: emilk/egui@069d7a6#diff-74fdcfecbe0c685b2afa67c95a4048ad58c88dde75479ab822ee537b47fa3fd3R54-R70

Also it seems like we can implement dragging like this: emilk/egui@069d7a6#diff-74fdcfecbe0c685b2afa67c95a4048ad58c88dde75479ab822ee537b47fa3fd3R39-R44

Before we can consider merging

@THEGOLDENPRO THEGOLDENPRO added the enhancement New feature or request label Oct 9, 2024
@THEGOLDENPRO THEGOLDENPRO self-assigned this Oct 17, 2024
@THEGOLDENPRO
Copy link
Member Author

Currently being worked on over here: https://github.com/cloudy-org/roseate/tree/feat/zoom-and-panning

@THEGOLDENPRO
Copy link
Member Author

Nearly done ✨

@THEGOLDENPRO THEGOLDENPRO linked a pull request Oct 31, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In progress to Done in Goldy's Project Board Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant