You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Display::None set nothing should be rendered but a white square is drawn in the top left corner. The square is the outline of the child element which is a zero sized node at the origin.
The text was updated successfully, but these errors were encountered:
# 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)
Bevy version
main 4b1865f
What you did
What went wrong
With
Display::None
set nothing should be rendered but a white square is drawn in the top left corner. The square is the outline of the child element which is a zero sized node at the origin.The text was updated successfully, but these errors were encountered: