From 15072d7937c1b59a468aa793453d88e36f6ffc4b Mon Sep 17 00:00:00 2001 From: ickshonpe Date: Wed, 9 Oct 2024 23:14:36 +0100 Subject: [PATCH] Dark text colors fix (#15794) # Objective Fix the text colors. fixes #15788 ## Solution Add the missing corner flags. --- crates/bevy_ui/src/render/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ui/src/render/mod.rs b/crates/bevy_ui/src/render/mod.rs index 2c2c61282d..87fce7413c 100644 --- a/crates/bevy_ui/src/render/mod.rs +++ b/crates/bevy_ui/src/render/mod.rs @@ -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(),