diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-10 01:28:02 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:30 +0100 |
| commit | 4919d2d00faa644a00084e10daf4acb90924cbd6 (patch) | |
| tree | 299bc0d76a3972fbd1875fec40c051bf8c07ce6c /src/yuzu/debugger/profiler.cpp | |
| parent | 1e67e6c225cebadb364a1b093dd2ad8fb407a994 (diff) | |
bootmanager: Fix screenshot resolution factor usage
Fixes screenshots at non integer scaling
Diffstat (limited to 'src/yuzu/debugger/profiler.cpp')
| -rw-r--r-- | src/yuzu/debugger/profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp index 33110685ab..a8b2541999 100644 --- a/src/yuzu/debugger/profiler.cpp +++ b/src/yuzu/debugger/profiler.cpp @@ -163,7 +163,7 @@ void MicroProfileWidget::mouseReleaseEvent(QMouseEvent* ev) { } void MicroProfileWidget::wheelEvent(QWheelEvent* ev) { - const auto wheel_position = ev->position().toPoint(); + const auto wheel_position = ev->pos(); MicroProfileMousePosition(wheel_position.x() / x_scale, wheel_position.y() / y_scale, ev->angleDelta().y() / 120); ev->accept(); |
