mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(tab-row): Simplify scrolling logic
This commit is contained in:
parent
de4f0f7d6f
commit
949ff17776
@ -392,6 +392,7 @@ export default class TabRowWidget extends BasicWidget {
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
event.currentTarget.scrollLeft += wheelEvent.deltaY + wheelEvent.deltaX;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user