Skip to content

Commit

Permalink
chore: followup bug 1926582 - Rename things related to moving multise…
Browse files Browse the repository at this point in the history
…lected tabs together
  • Loading branch information
onemen committed Dec 18, 2024
1 parent 3886a3d commit 1e751af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon/chrome/content/minit/minit.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,11 @@ var TMP_tabDNDObserver = {
return;
}

tabBar._finishGroupSelectedTabs(draggedTab);
if (Tabmix.isVersion(1330)) {
tabBar._finishMoveTogetherSelectedTabs(draggedTab);
} else {
tabBar._finishGroupSelectedTabs(draggedTab);
}
tabBar._finishAnimateTabMove();
}

Expand Down
2 changes: 2 additions & 0 deletions types/general.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ declare namespace MockedGeckoTypes {
_dragOverDelay: number;
_expandSpacerBy: (pixels: number) => void;
_finishAnimateTabMove: () => void;
_finishMoveTogetherSelectedTabs: (tab: BrowserTab) => void;
/** @deprecated replaced with _finishMoveTogetherSelectedTabs in firefox 133 */
_finishGroupSelectedTabs: (tab: BrowserTab) => void;
_getDragTargetTab(event: DragEvent, options?: {ignoreTabSides?: boolean}): BrowserTab | null;
// we are adding arguments to _getDropIndex see minit.js for details
Expand Down

0 comments on commit 1e751af

Please sign in to comment.