mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
Dark text colors fix (#15794)
# Objective Fix the text colors. fixes #15788 ## Solution Add the missing corner flags.
This commit is contained in:
parent
6d4ac458e0
commit
15072d7937
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ pub fn prepare_uinodes(
|
||||||
position: positions_clipped[i].into(),
|
position: positions_clipped[i].into(),
|
||||||
uv: uvs[i].into(),
|
uv: uvs[i].into(),
|
||||||
color,
|
color,
|
||||||
flags: shader_flags::TEXTURED,
|
flags: shader_flags::TEXTURED | shader_flags::CORNERS[i],
|
||||||
radius: [0.0; 4],
|
radius: [0.0; 4],
|
||||||
border: [0.0; 4],
|
border: [0.0; 4],
|
||||||
size: size.into(),
|
size: size.into(),
|
||||||
|
|
Loading…
Reference in a new issue