Fix dynamically changing the background color in a window causing rendering artifacts in the tab bar
Fixes #3595
This commit is contained in:
parent
80c13fa75b
commit
355808b0f6
@ -22,6 +22,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
||||
``KITTY_PIPE_DATA`` is also available via command line argument substitution
|
||||
(:iss:`3593`)
|
||||
|
||||
- Fix dynamically changing the background color in a window causing rendering
|
||||
artifacts in the tab bar (:iss:`3595`)
|
||||
|
||||
|
||||
0.20.3 [2021-05-06]
|
||||
----------------------
|
||||
|
||||
@ -303,8 +303,6 @@ class TabBar:
|
||||
self.draw_data = self.draw_data._replace(inactive_bg=color_from_int(spec['inactive_tab_background']))
|
||||
if 'tab_bar_background' in spec:
|
||||
self.draw_data = self.draw_data._replace(default_bg=color_from_int(spec['tab_bar_background']))
|
||||
elif 'background' in spec and not self.opts.tab_bar_background:
|
||||
self.draw_data = self.draw_data._replace(default_bg=color_from_int(spec['background']))
|
||||
fg = spec.get('inactive_tab_foreground', color_as_int(self.opts.inactive_tab_foreground))
|
||||
bg = spec.get('tab_bar_background', False)
|
||||
if bg is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user