mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 22:29:19 +08:00
fix(tab-row): Simplify scrolling logic
This commit is contained in:
parent
de4f0f7d6f
commit
949ff17776
1 changed files with 1 additions and 0 deletions
|
|
@ -392,6 +392,7 @@ export default class TabRowWidget extends BasicWidget {
|
|||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
event.currentTarget.scrollLeft += wheelEvent.deltaY + wheelEvent.deltaX;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue