This commit is contained in:
tamaina 2023-02-10 19:16:12 +00:00
parent 31e2813080
commit e5adbe9303
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ function renderTab() {
}
function onTabWheel(ev: WheelEvent) {
if (ev.deltaY !== 0) {
if (ev.deltaY !== 0 && ev.deltaX === 0) {
ev.preventDefault();
ev.stopPropagation();
(ev.currentTarget as HTMLElement).scrollBy({