early-access version 2296

This commit is contained in:
pineappleEA 2021-12-09 08:01:56 +01:00
parent 31258281b9
commit 426e99bf8b
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2294. This is the source code for early-access 2296.
## Legal Notice ## Legal Notice

View file

@ -163,7 +163,7 @@ void MicroProfileWidget::mouseReleaseEvent(QMouseEvent* ev) {
} }
void MicroProfileWidget::wheelEvent(QWheelEvent* ev) { void MicroProfileWidget::wheelEvent(QWheelEvent* ev) {
const auto wheel_position = ev->pos(); const auto wheel_position = ev->position().toPoint();
MicroProfileMousePosition(wheel_position.x() / x_scale, wheel_position.y() / y_scale, MicroProfileMousePosition(wheel_position.x() / x_scale, wheel_position.y() / y_scale,
ev->angleDelta().y() / 120); ev->angleDelta().y() / 120);
ev->accept(); ev->accept();