swap error and warning in status line
@@ -291,16 +291,16 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &druid::Env)
left = self.paint_icon_with_label(
left,
size.height,
- "warning.svg",
- data.main_split.warning_count.to_string(),
+ "error.svg",
+ data.main_split.error_count.to_string(),
ctx,
&data.config,
);
left = self.paint_icon_with_label(
- left,
+ left - 5.0,
size.height,
- "error.svg",
- data.main_split.error_count.to_string(),
+ "warning.svg",
+ data.main_split.warning_count.to_string(),
ctx,
&data.config,
);
