From 83fe4f2ce6308dd25982c185bb1f39cada14e121 Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Fri, 28 Aug 2026 21:14:44 +0300 Subject: [PATCH] less bright default color for text in inspector --- fyrox-ui/src/inspector/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fyrox-ui/src/inspector/mod.rs b/fyrox-ui/src/inspector/mod.rs index b7a53b8f6..16f4376ee 100644 --- a/fyrox-ui/src/inspector/mod.rs +++ b/fyrox-ui/src/inspector/mod.rs @@ -1091,7 +1091,7 @@ fn make_expander_check_box( .with_foreground( text_brush .map(StyledProperty::from) - .unwrap_or_else(|| ctx.style.property(Style::BRUSH_FOREGROUND)), + .unwrap_or_else(|| ctx.style.property(Style::BRUSH_TEXT)), ) .with_opt_tooltip(make_tooltip(ctx, &description)) .with_height(16.0) @@ -1163,7 +1163,7 @@ fn create_header( .with_foreground( text_brush .map(StyledProperty::from) - .unwrap_or_else(|| ctx.style.property(Style::BRUSH_FOREGROUND)), + .unwrap_or_else(|| ctx.style.property(Style::BRUSH_TEXT)), ) .with_margin(make_property_margin(offset, layer_index)), )