synth create - change message font color to green
This commit is contained in:
1 parent
9089936b83
commit
e40354bf4f
1 file changed
+1
-1
@@ -294,7 +294,7 @@ namespace mbts.ui.spark {
|
||||
const double y_offset = 10;
|
||||
string leg_count_msg = _vm.GetErrors(nameof(SyntheticEditorVM.leg_count)).Cast<string>().FirstOrDefault();
|
||||
if (leg_count_msg != null)
|
||||
this.draw_text_beneath(leg_count_msg, drawing_context, name_text_box, Brushes.Yellow, 0, y_offset);
|
||||
this.draw_text_beneath(leg_count_msg, drawing_context, name_text_box, Brushes.PaleGreen, 0, y_offset);
|
||||
else {
|
||||
if (_vm != null && _vm.GetErrors(nameof(SyntheticEditorVM.name)).Cast<string>().Any())
|
||||
this.draw_border(drawing_context, name_text_box, null, new Pen(Brushes.Red, 1));
|
||||
|
||||
Reference in new issue
Block a user