Keep process topology node outlines visible

This commit is contained in:
2026-09-12 17:28:20 -07:00
parent bbd3b0e843
commit 2c6ededc51
+2 -2
View File
@@ -1471,7 +1471,7 @@ impl canvas::Program<Message> for Graph<'_> {
.with_color(if n.id == self.selected { .with_color(if n.id == self.selected {
style::TEAL style::TEAL
} else { } else {
style::LINE style::BOUNDARY
}) })
.with_width(if n.id == self.selected { 2.5 } else { 1. }), .with_width(if n.id == self.selected { 2.5 } else { 1. }),
); );
@@ -1578,7 +1578,7 @@ impl canvas::Program<Message> for Graph<'_> {
f.fill_rectangle(r.position(), r.size(), Color::WHITE); f.fill_rectangle(r.position(), r.size(), Color::WHITE);
f.stroke( f.stroke(
&Path::rectangle(r.position(), r.size()), &Path::rectangle(r.position(), r.size()),
Stroke::default().with_color(style::LINE), Stroke::default().with_color(style::BOUNDARY),
); );
draw_text( draw_text(
&mut f, &mut f,