Skip to content

Commit

Permalink
chore: followup bug 1945788 - Revert bug 1932489
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Feb 15, 2025
1 parent 016aa9b commit d939094
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/chrome/content/minit/minit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var TMP_tabDNDObserver = {

const makeCode = (function() {
let _make;
if (Tabmix.isVersion(1360)) {
if (Tabmix.isVersion(1370)) {
// @ts-expect-error
// eslint-disable-next-line no-unused-vars
const isTab = element => element.tagName == "tab";
Expand Down Expand Up @@ -209,7 +209,7 @@ var TMP_tabDNDObserver = {
Tabmix.isVersion(1330) ?
`!tabmixHandleMove ? $& : ${Tabmix.isVersion(1340) ? "newIndex" : "index"} > -1 && (RTL_UI !== directionForward)` :
`!tabmixHandleMove ? $& : newIndex > -1 && (RTL_UI !== ${Tabmix.isVersion(1300) ? "directionMove" : "ltrMove"})`,
{check: !Tabmix.isVersion(1360)}
{check: !Tabmix.isVersion(1370)}
);

if (Tabmix.isVersion(1300)) {
Expand All @@ -233,7 +233,7 @@ var TMP_tabDNDObserver = {
'($1MovingTabScreen + (this.verticalMode ? tabSize : rightTabWidth))',
);

if (Tabmix.isVersion(1360)) {
if (Tabmix.isVersion(1370)) {
_animateTabMove._replace(
/leastMovingTabPos =[^;]*/,
'leastMovingTabPos = firstMovingTabScreen + translate + (this._rtlMode ? (this.verticalMode ? tabSize : leftTabWidth) : 0)'
Expand Down

0 comments on commit d939094

Please sign in to comment.