-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Borders are not rendered for ImageBundle nodes #14498
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Bevy version
0.14
What you did
Gave an
ImageBundleentity with a non-zero border thickness.What went wrong
No border was rendered.
However, the image does get cropped down by an amount equal to the border width.
Additional information
Setting
BorderRadiusdoes work correctly to clip the shape of the node.As a result adding the
BorderColorcomponent has no effect (this should also be part ofImageBundleonce this is fixed).