Keep process topology node outlines visible
This commit is contained in:
@@ -1471,7 +1471,7 @@ impl canvas::Program<Message> for Graph<'_> {
|
||||
.with_color(if n.id == self.selected {
|
||||
style::TEAL
|
||||
} else {
|
||||
style::LINE
|
||||
style::BOUNDARY
|
||||
})
|
||||
.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.stroke(
|
||||
&Path::rectangle(r.position(), r.size()),
|
||||
Stroke::default().with_color(style::LINE),
|
||||
Stroke::default().with_color(style::BOUNDARY),
|
||||
);
|
||||
draw_text(
|
||||
&mut f,
|
||||
|
||||
Reference in New Issue
Block a user