generated from dave/wails-template
Reverse mouse scroll direction
I found myself scrolling in the wrong direction... This should help
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
}
|
||||
function scroll(event: WheelEvent) {
|
||||
if (event.deltaY < 0) {
|
||||
scrollingTimeFrameStore.next();
|
||||
} else {
|
||||
scrollingTimeFrameStore.prev();
|
||||
} else {
|
||||
scrollingTimeFrameStore.next();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user