-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Bevy UI backend so it ignores clipped areas of UI nodes (#285)
* The Bevy UI backend doesn't check for clipping, and allows interaction with clipped non-visible sections of UI nodes. This PR intersects the node rect with its calculated clip rect (if it has one) and then checks if the clipped node contains the cursor. * Removed unused import from `bevy_picking_ui` * remove unused deps * update changelog --------- Co-authored-by: Aevyrie <[email protected]>
- Loading branch information
Showing
4 changed files
with
7 additions
and
22 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
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
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
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