Skip to content

Commit d439cb8

Browse files
committed
fix: Fixed newtab and separator moving when draging a folder, b=no-bug, c=tabs
1 parent 1bf5a2d commit d439cb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zen/tabs/ZenPinnedTabManager.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,9 @@
11731173
}
11741174

11751175
animateSeparatorMove(draggedTab, dropElement, isPinned, event) {
1176+
if (gBrowser.isTabGroupLabel(draggedTab) && draggedTab.group.isZenFolder) {
1177+
return;
1178+
}
11761179
if (draggedTab?.group?.hasAttribute('split-view-group')) {
11771180
draggedTab = draggedTab.group;
11781181
}

0 commit comments

Comments
 (0)