Skip to content

Commit 4d09849

Browse files
committed
fix: vertical bar squeezed on horizontal overscroll
1 parent db35078 commit 4d09849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chromium (.crx)/includes/modern_scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ async function squeeze_bars(e)
11331133
const factor = window.innerWidth / (window.innerWidth + Math.abs(e.deltaX));
11341134

11351135
hbar.style.transformOrigin = e.deltaX < 0 ? "0 0" : "100% 100%";
1136-
vbar.style.transform = "scaleY("+(0.25+0.75*factor)+")";
1136+
hbar.style.transform = "scaleX("+(0.25+0.75*factor)+")";
11371137
hbar.style.opacity = w.opacity / 100 + (1 - w.opacity / 100) * (1 - factor);
11381138
}
11391139
}

0 commit comments

Comments
 (0)