mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
fix(tab-row): Simplify scrolling logic
This commit is contained in:
@@ -392,6 +392,7 @@ export default class TabRowWidget extends BasicWidget {
|
||||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
event.currentTarget.scrollLeft += wheelEvent.deltaY + wheelEvent.deltaX;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user