Skip to content

Commit 15072d7

Browse files
authored
Dark text colors fix (#15794)
# Objective Fix the text colors. fixes #15788 ## Solution Add the missing corner flags.
1 parent 6d4ac45 commit 15072d7

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_ui/src/render

1 file changed

+1
-1
lines changed

crates/bevy_ui/src/render/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ pub fn prepare_uinodes(
11761176
position: positions_clipped[i].into(),
11771177
uv: uvs[i].into(),
11781178
color,
1179-
flags: shader_flags::TEXTURED,
1179+
flags: shader_flags::TEXTURED | shader_flags::CORNERS[i],
11801180
radius: [0.0; 4],
11811181
border: [0.0; 4],
11821182
size: size.into(),

0 commit comments

Comments
 (0)