Ensure border rects are updated when patching colors

This commit is contained in:
Kovid Goyal 2021-10-25 12:37:29 +05:30
parent f78feb5abf
commit a44a3195ab
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1702,6 +1702,9 @@ def patch_colors(self, spec: Dict[str, Optional[int]], configured: bool = False)
tm.tab_bar.patch_colors(spec)
tm.tab_bar.layout()
tm.mark_tab_bar_dirty()
t = tm.active_tab
if t is not None:
t.relayout_borders()
patch_global_colors(spec, configured)
def apply_new_options(self, opts: Options) -> None: