Bug 1951488 - Fix drag and drop of vertical pinned tabs with minimal movement. r=nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D240349
This commit is contained in:
@@ -2241,7 +2241,11 @@
|
||||
newIndex++;
|
||||
}
|
||||
|
||||
if (newIndex < 0 || newIndex == oldIndex) {
|
||||
if (newIndex < 0) {
|
||||
newIndex = oldIndex;
|
||||
}
|
||||
|
||||
if (newIndex == dragData.animDropIndex) {
|
||||
return;
|
||||
}
|
||||
dragData.animDropIndex = newIndex;
|
||||
|
||||
Reference in New Issue
Block a user