Merge pull request #1366 from ramox81/codex/equal-constraint-parity

Bring the Equal constraint to reference parity

# Conflicts:
#	src/command.rs
This commit is contained in:
Hakan Seven committed 2026-09-19 23:01:01 +03:00
commit 3ba370bcd1
11 files changed
+624 -7

No files matched your search

+7 -1
View File
@@ -2147,10 +2147,16 @@ impl canvas::Program<Message> 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,