Skip to content

Commit

Permalink
Dark text colors fix (#15794)
Browse files Browse the repository at this point in the history
# Objective

Fix the text colors.

fixes #15788

## Solution

Add the missing corner flags.
  • Loading branch information
ickshonpe authored Oct 9, 2024
1 parent 6d4ac45 commit 15072d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ui/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ pub fn prepare_uinodes(
position: positions_clipped[i].into(),
uv: uvs[i].into(),
color,
flags: shader_flags::TEXTURED,
flags: shader_flags::TEXTURED | shader_flags::CORNERS[i],
radius: [0.0; 4],
border: [0.0; 4],
size: size.into(),
Expand Down

0 comments on commit 15072d7

Please sign in to comment.