generated from cloudy-org/tauri-desktop-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Labels
enhancement
New feature or request
Comments
Currently being worked on over here: https://github.com/cloudy-org/roseate/tree/feat/zoom-and-panning |
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 18, 2024
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 25, 2024
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 26, 2024
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 30, 2024
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 30, 2024
…ove all the pan reset state to one combined struct. #12
THEGOLDENPRO
added a commit
that referenced
this issue
Oct 30, 2024
Nearly done ✨ |
Merged
Merged
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
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.
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
1.0
if user has zoomed out too far.(POSTPONED) Zoom into cursor position instead of the center of the image. #17(skipped)The text was updated successfully, but these errors were encountered: