mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DolphinQt: Only trigger Free Look mouse movement when the Free Look camera is active
This commit is contained in:
parent
bcf63c463b
commit
b9d9b27a81
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ bool RenderWidget::event(QEvent* event)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case QEvent::MouseMove:
|
case QEvent::MouseMove:
|
||||||
if (g_Config.bFreeLook)
|
if (g_freelook_camera.IsActive())
|
||||||
OnFreeLookMouseMove(static_cast<QMouseEvent*>(event));
|
OnFreeLookMouseMove(static_cast<QMouseEvent*>(event));
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue