DolphinQt: Only trigger Free Look mouse movement when the Free Look camera is active

This commit is contained in:
iwubcode 2020-06-18 23:49:48 -05:00
parent bcf63c463b
commit b9d9b27a81

View File

@ -181,7 +181,7 @@ bool RenderWidget::event(QEvent* event)
break;
}
case QEvent::MouseMove:
if (g_Config.bFreeLook)
if (g_freelook_camera.IsActive())
OnFreeLookMouseMove(static_cast<QMouseEvent*>(event));
[[fallthrough]];