Skip to content

UI: allow border radius to be optional for images and background#12592

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
mockersf:fix-ui-images-and-border-after-rounded
Mar 20, 2024
Merged

UI: allow border radius to be optional for images and background#12592
alice-i-cecile merged 1 commit intobevyengine:mainfrom
mockersf:fix-ui-images-and-border-after-rounded

Conversation

@mockersf
Copy link
Member

@mockersf mockersf commented Mar 20, 2024

Objective

Solution

  • Makes the component BorderRadius optional in the query, as it's not always present. Use [0.; 4] as border radius in the extracted node when none was found

@mockersf mockersf added C-Bug An unexpected or incorrect behavior A-UI Graphical user interfaces, styles, layouts, and widgets labels Mar 20, 2024
@mockersf mockersf added this to the 0.14 milestone Mar 20, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Mar 20, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Mar 20, 2024
Merged via the queue into bevyengine:main with commit 779e4c4 Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants