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 {
|
.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,
|
||||||
|
|||||||
Reference in New Issue
Block a user