feat: Always move the buttons to the topbar in compact mode, b=no-bug, c=common

This commit is contained in:
Mr. M
2025-10-16 00:14:33 +02:00
parent 1443d8e559
commit fc951e5dc1

View File

@@ -1091,10 +1091,7 @@ var gZenVerticalTabsManager = {
((!this.isWindowsStyledButtons && !isRightSide) ||
(this.isWindowsStyledButtons && isRightSide));
if (
(!isSingleToolbar &&
isCompactMode &&
!captionsShouldStayOnSidebar &&
this.isWindowsStyledButtons === isRightSide) ||
(!isSingleToolbar && isCompactMode && !captionsShouldStayOnSidebar) ||
!isSidebarExpanded
) {
navBar.prepend(topButtons);