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) {
|
function scroll(event: WheelEvent) {
|
||||||
if (event.deltaY < 0) {
|
if (event.deltaY < 0) {
|
||||||
scrollingTimeFrameStore.next();
|
|
||||||
} else {
|
|
||||||
scrollingTimeFrameStore.prev();
|
scrollingTimeFrameStore.prev();
|
||||||
|
} else {
|
||||||
|
scrollingTimeFrameStore.next();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user