From 4e2fc8c9dec3db4e612f7077d31014391ce1bb35 Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Fri, 18 Sep 2026 23:45:01 +0300 Subject: [PATCH] Draw the Equal glyph symbol in green Co-Authored-By: Claude Fable 5.1 --- src/ui/overlay.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ui/overlay.rs b/src/ui/overlay.rs index eba42529d..a1c7f2e02 100644 --- a/src/ui/overlay.rs +++ b/src/ui/overlay.rs @@ -2147,10 +2147,16 @@ impl canvas::Program for SelectionCanvas { label == crate::scene::parametric_constraints::VERTICAL_POINTS_GLYPH, ); } else { + // The Equal symbol reads green on its badge, as asked. + let color = if label == "=" { + Color::from_rgb8(72, 199, 116) + } else { + fg + }; frame.fill_text(canvas::Text { content: label.clone(), position: glyph_center, - color: fg, + color, size: iced::Pixels(CONSTRAINT_GLYPH_SIZE), align_x: iced::alignment::Horizontal::Center.into(), align_y: iced::alignment::Vertical::Center,