parent
1f9e518581
commit
9190eb8f34
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ const TabBar = forwardRef(function (props, ref) {
|
|||
|
||||
function handleWheel(event) {
|
||||
// Normalize wheel speed
|
||||
let x = event.deltaX;
|
||||
let x = event.deltaX || event.deltaY;
|
||||
if (x && event.deltaMode) {
|
||||
if (event.deltaMode === 1) {
|
||||
x *= 20;
|
||||
|
|
Loading…
Reference in a new issue