mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
efb4fa5d61
# 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) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |