Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give UI nodes with
Display::None
an empty clipping rect (#10942)
# Objective Outlines are drawn for UI nodes with `Display::None` set and their descendants. They should not be visible. ## Solution Make all Nodes with `Display::None` inherit an empty clipping rect, ensuring that the outlines are not visible. Fixes #10940 --- ## Changelog * In `update_clipping_system` if a node has `Display::None` set, clip the entire node and all its descendants by replacing the inherited clip with a default rect (which is empty)
- Loading branch information