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

[Feature Request] Zoom at point of mouse cursor #1031

Open
yellek opened this issue Mar 8, 2024 · 2 comments
Open

[Feature Request] Zoom at point of mouse cursor #1031

yellek opened this issue Mar 8, 2024 · 2 comments

Comments

@yellek
Copy link

yellek commented Mar 8, 2024

As a user when I zoom in I would like the centre of the zoomed in window to be where the mouse pointer is rather than the centre of the canvas.

This is a common feature in many other zoomable displays. Not a huge issue to work around with the navigation window or middle mouse button but it would be nice if what I was focussing on filled the screen when I zoom rather than the zoom going to a completely different part of the diagram.

@Phillipus
Copy link
Member

Unless you can supply a pull request implementing this it won't change as it's part of the Eclipse Graphical Eclipse Framework.

@Phillipus Phillipus closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2024
@Phillipus Phillipus reopened this Jun 6, 2024
@Phillipus
Copy link
Member

Phillipus commented Jun 6, 2024

Re-opened this so that #1046 is not a duplicate.

I think that any changes would have to be applied here - https://github.com/archimatetool/archi/blob/master/org.eclipse.gef/src/org/eclipse/gef/editparts/ZoomManager.java - and the current viewport size needs to be accounted for as well as not referencing the mouse position when "Zoom Normal" is applied.

If anyone would like to contribute a PR for this please do.

@Phillipus Phillipus changed the title [Feature Request] Change Default Zoom In [Feature Request] Zoom at point of mouse cursor Jun 6, 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

2 participants