Skip to content

Borders are not rendered for ImageBundle nodes #14498

@alice-i-cecile

Description

@alice-i-cecile

Bevy version

0.14

What you did

Gave an ImageBundle entity 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 BorderRadius does work correctly to clip the shape of the node.

As a result adding the BorderColor component has no effect (this should also be part of ImageBundle once this is fixed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions