-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tank: 'Horizontal' widget used space of 'vertical'
Because of the way the widget was rotated, it would capture mouse clicks as if it was in the default, vertical orientation, ignoring the transformation that makes it appear horizontally. This might be a JavaFX error, but nevertheless prevented interacting with widgets that are 'below' the horizontal tank. Fixed by transforming the tank inside the pane instead of transforming the pane.
- Loading branch information
kasemir
committed
Sep 6, 2023
1 parent
049575e
commit 201200f
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters