1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

gui: fix new tab hover colors

refs: #1498
This commit is contained in:
Wez Furlong 2022-01-03 12:52:58 -07:00
parent 672187973b
commit cc507951d0

View File

@ -557,8 +557,8 @@ impl super::TermWindow {
})
.hover_colors(Some(ElementColors {
border: BorderColor::default(),
bg: rgbcolor_to_window_color(colors.inactive_tab_hover.bg_color).into(),
text: rgbcolor_to_window_color(colors.inactive_tab_hover.fg_color).into(),
bg: rgbcolor_to_window_color(colors.new_tab_hover.bg_color).into(),
text: rgbcolor_to_window_color(colors.new_tab_hover.fg_color).into(),
})),
TabBarItem::Tab { active, .. } if active => element
.item_type(UIItemType::TabBar(item.item.clone()))