Fix mouse wheel scrolling

This commit is contained in:
Cacodemon345
2021-12-06 16:33:25 +06:00
committed by GitHub
parent 28d1a43af7
commit c376cca71e

View File

@@ -99,7 +99,7 @@ void RendererStack::wheelEvent(QWheelEvent *event)
{
if (mouse_capture)
{
mousedata.deltay += event->pixelDelta().y();
mousedata.deltaz += event->pixelDelta().y();
}
}