From 02c26961346a83b52c220102c7edd3c5ffe2a067 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:01:22 +1000 Subject: Hide the hardware cursor when in a cinematic --- source/frontend/StarMainInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarMainInterface.cpp') diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index a3338ee..4f40694 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -1368,7 +1368,7 @@ void MainInterface::updateCursor() { void MainInterface::renderCursor() { // if we're currently playing a cinematic, we should not render the mouse. if (m_cinematicOverlay && !m_cinematicOverlay->completed()) - return; + return m_guiContext->applicationController()->setCursorVisible(false); m_cursor.update(WorldTimestep); -- cgit v1.2.3