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

Zoom towards cursor #1046

Closed
YurMischenkov opened this issue Jun 6, 2024 · 2 comments
Closed

Zoom towards cursor #1046

YurMischenkov opened this issue Jun 6, 2024 · 2 comments

Comments

@YurMischenkov
Copy link

Feature request — Zoom towards cursor.

I can see that this question was raised earlier, but closed with reference to the external library which is used and request to the actual change in the code. I may be wrong, but there is a code available for the lib to fix that.

#1031 — original feature request
eclipse/gef@a646ad8 — code for the lib to change the behavior to the desired one for the Graphical Eclipse Framework.

I wonder if it is possible to implement the change in Archi, since zooming is a pain in the neck now.

Version of Archi

5.2.0

Archi Plug-ins

coArchi, jArchi

Operating System

Windows

Expected Behaviour

Zoom towards cursor

Actual Behaviour

zoom towards canvas center

Steps to Reproduce the Behaviour

  • Ctrl + mouse scroll
@Phillipus
Copy link
Member

Hi, the example code that you link to is for a completely different version of GEF, so it can't be used. We use GEF 3 (Classic) and 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

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

@Phillipus
Copy link
Member

I'll re-open the original issue and close this one, so we can track it in one place.

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