A failed feature gets its own mark in the timeline and Feature History, distinct from warnings, with tests.
This commit is contained in:
1 parent
f6a47a49d7
commit
731629a422
5 files changed
+125
No files matched your search
@@ -719,6 +719,11 @@ fn vertical_features(app: &mut SolveApp, ui: &mut egui::Ui) {
|
||||
egui::FontId::proportional(12.0),
|
||||
text_colour,
|
||||
);
|
||||
// A failed feature has a mark of its own, not only its colour (#972).
|
||||
if error.is_some() {
|
||||
let at = Rect::from_min_size(pos2(rect.right() - 15.0, rect.center().y - 6.0), vec2(12.0, 12.0));
|
||||
icons::paint(ui.painter(), at, "error", t.panel, t.error, t.error);
|
||||
}
|
||||
if warning.is_some() && error.is_none() {
|
||||
icons::paint(
|
||||
ui.painter(),
|
||||
|
||||
Reference in new issue
Block a user