fix
This commit is contained in:
parent
31e2813080
commit
e5adbe9303
|
@ -149,7 +149,7 @@ function renderTab() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTabWheel(ev: WheelEvent) {
|
function onTabWheel(ev: WheelEvent) {
|
||||||
if (ev.deltaY !== 0) {
|
if (ev.deltaY !== 0 && ev.deltaX === 0) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
(ev.currentTarget as HTMLElement).scrollBy({
|
(ev.currentTarget as HTMLElement).scrollBy({
|
||||||
|
|
Loading…
Reference in New Issue