mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-01 13:23:58 +00:00
feat: don't draw visible tab bar margins if width is 0
Closes: https://github.com/kovidgoyal/kitty/issues/7871
This commit is contained in:
parent
1a9abbcc7c
commit
44e643ae3f
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ class TabBar:
|
|||
blank_rects.append(Border(0, tab_bar.bottom + 1, vw, central.top, bg))
|
||||
g = self.window_geometry
|
||||
left_bg = right_bg = bg
|
||||
if opts.tab_bar_margin_color is None:
|
||||
if opts.tab_bar_margin_color is None or opts.tab_bar_margin_width == 0:
|
||||
left_bg = BorderColor.tab_bar_left_edge_color
|
||||
right_bg = BorderColor.tab_bar_right_edge_color
|
||||
if g.left > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue