Cleanup previous PR

This commit is contained in:
Kovid Goyal 2026-03-28 14:40:45 +05:30
parent 4a6b4a022b
commit 5d0e038afc
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1242,10 +1242,8 @@ def refresh_sprite_positions(self) -> None:
@property
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
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
if count < 1:
return True