mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinQt: Only trigger Free Look mouse movement when the Free Look camera is active
This commit is contained in:
@ -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]];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user