mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 14:56:14 +00:00
fix: Fixed pinned tabs reordering on twilight, b=(no-bug), c=tabs, workspaces
This commit is contained in:
@@ -465,7 +465,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
tabs.splice(tabs.indexOf(tab), 1);
|
||||
tab = tab.group ?? tab;
|
||||
if (tab.pinned) {
|
||||
pinnedSection.nextSibling.before(tab);
|
||||
pinnedSection.insertBefore(tab, pinnedSection.lastChild);
|
||||
} else {
|
||||
if (!firstNormalTab) {
|
||||
firstNormalTab = tab;
|
||||
|
Reference in New Issue
Block a user