-
Notifications
You must be signed in to change notification settings - Fork 6
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
Magnifier only zooming towards top left corner #46
Comments
Hi @ernOho , There's nothing you normally have to do when creating the magnifier tool to make this work, provided that you've embedded your canvas in a Here's how it works: The To demonstrate, try this code:
If you have a more complicated layout in which your Does that help? |
Hi @defano, I have been trying to add swings jScrollPane to my jfx application. However, adding it to my jfx app , e.g. to a HBox (box.getChildren().addAll(..)) doesn't work. So it seems implementing my own SurfaceScrollController(for JavaFxs ScrollPane) is a way to solve this? Unless there is another way to add a jScrollPane to a Javafx application? kind regards |
This is clearly a flaw. The You can solve this problem immediately by implementing that logic and injecting your implementation of Otherwise, I'll try to fix this sometime this week. |
Hi. I'll get on it asap and share once it works. |
Hi @defano, kind regards |
Sorry for the frustration—I'll take a look. |
Hi,
after using this library, I've noticed that the magnifier (from PaintToolType.MAGNIFIER) doesn't zoom in at clicked mouse location, but always towards the top left corner. I've attached my config. of the magnifier. I suspect that I have forgotten something.
With kind regards
The text was updated successfully, but these errors were encountered: