Skip to content

Commit

Permalink
fix: drag indicator pointing to next row when mouse position is below…
Browse files Browse the repository at this point in the history
… mid-height
  • Loading branch information
onemen committed Oct 10, 2024
1 parent 89df6a4 commit 4cbb489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/chrome/content/minit/minit.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ var TMP_tabDNDObserver = {
} else if (mY <= top + this._multirowMargin) {
mY = top + this._multirowMargin + 1;
}
const currentRow = firstVisibleRow + Math.round((mY - top - this._multirowMargin) / singleRowHeight);
const currentRow = firstVisibleRow + Math.floor((mY - top - this._multirowMargin) / singleRowHeight);
let topY = Tabmix.tabsUtils.topTabY;
let index;
for (index = 0; index < numTabs; index++) {
Expand Down

0 comments on commit 4cbb489

Please sign in to comment.