mirror of https://github.com/lapce/lapce.git
feat: change `lapce warn` color
This commit is contained in:
parent
60ceda7544
commit
297710dee5
|
@ -169,7 +169,7 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &Env) {
|
|||
data.config.ui.font_size() as f64,
|
||||
)
|
||||
.default_attribute(TextAttribute::Weight(FontWeight::SEMI_BOLD))
|
||||
.text_color(data.config.get_color_unchecked(LapceTheme::LAPCE_WARN))
|
||||
.text_color(data.config.get_color_unchecked(LapceTheme::LAPCE_WARN).clone())
|
||||
.build()
|
||||
.unwrap();
|
||||
ctx.draw_text(&layout, Point::new(x, y));
|
||||
|
|
Loading…
Reference in New Issue