mirror of https://github.com/lapce/lapce.git
All PanelMainHeaders use same bg color.
This backs out part of the change from the previous commit, leaving the comment. Following discussion on Discord with bugadani
This commit is contained in:
parent
505c2a6ab2
commit
e30b05da85
|
@ -519,14 +519,10 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, _env: &Env) {
|
|||
.get_color_unchecked(LapceTheme::LAPCE_DROPDOWN_SHADOW),
|
||||
);
|
||||
|
||||
let bg_color_name = match self.kind {
|
||||
PanelKind::Terminal => LapceTheme::TERMINAL_BACKGROUND,
|
||||
_ => LapceTheme::EDITOR_BACKGROUND
|
||||
};
|
||||
|
||||
ctx.fill(
|
||||
rect,
|
||||
data.config.get_color_unchecked(bg_color_name),
|
||||
data.config
|
||||
.get_color_unchecked(LapceTheme::EDITOR_BACKGROUND),
|
||||
);
|
||||
|
||||
let text_layout = ctx
|
||||
|
|
Loading…
Reference in New Issue