fix
This commit is contained in:
@@ -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({
|
||||||
|
Reference in New Issue
Block a user