File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
browser/components/tabbrowser/content Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
diff --git a/browser/components/tabbrowser/content/tabs.js b/browser/components/tabbrowser/content/tabs.js
2
- index 84d633471c89230b981d8a07babef4e0c76c0338..de8b1ecf7cb844f6cf3e66a41b6024c574dfc103 100644
2
+ index 84d633471c89230b981d8a07babef4e0c76c0338..a4101ad4e8aa9745ec807eb0373942b53c8dd285 100644
3
3
--- a/browser/components/tabbrowser/content/tabs.js
4
4
+++ b/browser/components/tabbrowser/content/tabs.js
5
5
@@ -83,7 +83,7 @@
@@ -116,6 +116,15 @@ index 84d633471c89230b981d8a07babef4e0c76c0338..de8b1ecf7cb844f6cf3e66a41b6024c5
116
116
lastBound
117
117
);
118
118
} else {
119
+ @@ -1168,7 +1192,7 @@
120
+ (oldTranslateX && oldTranslateX != newTranslateX) ||
121
+ (oldTranslateY && oldTranslateY != newTranslateY);
122
+ } else if (this.verticalMode) {
123
+ - shouldTranslate &&= oldTranslateY && oldTranslateY != newTranslateY;
124
+ + shouldTranslate &&= oldTranslateY && oldTranslateY != newTranslateY && movingTabs.length === 1;
125
+ } else {
126
+ shouldTranslate &&= oldTranslateX && oldTranslateX != newTranslateX;
127
+ }
119
128
@@ -1337,6 +1361,7 @@
120
129
121
130
let nextItem = this.ariaFocusableItems[newIndex];
Original file line number Diff line number Diff line change 786
786
if ( ! this . enabled ) {
787
787
return false ;
788
788
}
789
+ movingTabs = [ ...movingTabs ]
789
790
try {
790
791
const pinnedTabsTarget =
791
792
event . target . closest ( '.zen-workspace-pinned-tabs-section' ) ||
You can’t perform that action at this time.
0 commit comments