From c376cca71ee4e680bb9543d10b3890e34a32e324 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 6 Dec 2021 16:33:25 +0600 Subject: [PATCH] Fix mouse wheel scrolling --- src/qt/qt_rendererstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_rendererstack.cpp b/src/qt/qt_rendererstack.cpp index cbc0b5e44..3df8c8ab2 100644 --- a/src/qt/qt_rendererstack.cpp +++ b/src/qt/qt_rendererstack.cpp @@ -99,7 +99,7 @@ void RendererStack::wheelEvent(QWheelEvent *event) { if (mouse_capture) { - mousedata.deltay += event->pixelDelta().y(); + mousedata.deltaz += event->pixelDelta().y(); } }