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

(POSTPONED) Zoom into cursor position instead of the center of the image. #17

Open
THEGOLDENPRO opened this issue Oct 20, 2024 · 2 comments

Comments

@THEGOLDENPRO
Copy link
Member

THEGOLDENPRO commented Oct 20, 2024

Required to be completed before we can complete and merge #12

@THEGOLDENPRO THEGOLDENPRO changed the title Zoom into cursor position instead of the center of the image. (I really don't know how to do this one) Zoom into cursor position instead of the center of the image. Oct 20, 2024
@THEGOLDENPRO
Copy link
Member Author

THEGOLDENPRO commented Oct 20, 2024

This has been proven to be very very challenging in the codebase currently.

Just a note to myself:

  • Move all scaling and image sizing logic to ZoomPan.

Working on that in this branch: https://github.com/cloudy-org/roseate/tree/refactor/image-scaling-logic

THEGOLDENPRO added a commit that referenced this issue Oct 20, 2024
@THEGOLDENPRO
Copy link
Member Author

yeah it's not looking good, I can't figure this one out and the egui transformation examples are not working so this issue will postponed for now.

@THEGOLDENPRO THEGOLDENPRO changed the title Zoom into cursor position instead of the center of the image. (POSTPONED) Zoom into cursor position instead of the center of the image. Oct 25, 2024
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

No branches or pull requests

1 participant