mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-22 05:02:31 +00:00
Reset draw data default bg when background is changed
This commit is contained in:
parent
a44a3195ab
commit
6da79ab614
1 changed files with 2 additions and 0 deletions
|
|
@ -475,6 +475,8 @@ class TabBar:
|
|||
if val is None:
|
||||
val = color_as_int(opts.background)
|
||||
self.draw_data = self.draw_data._replace(default_bg=color_from_int(val))
|
||||
elif not opts.tab_bar_background:
|
||||
self.draw_data = self.draw_data._replace(default_bg=opts.background)
|
||||
bg = spec.get('tab_bar_background', False)
|
||||
if bg is None:
|
||||
bg = color_as_int(opts.background)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue