Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-03-28 14:40:45 +05:30
parent 4a6b4a022b
commit 5d0e038afc

View File

@@ -1242,10 +1242,8 @@ class TabManager: # {{{
@property @property
def tab_bar_should_be_visible(self) -> bool: def tab_bar_should_be_visible(self) -> bool:
if self.tab_being_dropped is not None: if self.tab_being_dropped is not None or self.window_drag_over_me:
return True # keep tab bar visible in the dest return True # keep tab bar visible in the dest
if self.window_drag_over_me:
return True # keep tab bar visible when a window is being dragged over this OS window
count = get_options().tab_bar_min_tabs count = get_options().tab_bar_min_tabs
if count < 1: if count < 1:
return True return True