diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-23 19:01:22 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-23 19:01:22 +1000 |
commit | 02c26961346a83b52c220102c7edd3c5ffe2a067 (patch) | |
tree | d67bc0a094b259a898dc67ac553cfe86a544bdc8 /source/frontend/StarMainInterface.cpp | |
parent | fa5042902cf461abe541c8be472599782102cf1c (diff) |
Hide the hardware cursor when in a cinematic
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |