Hide the hardware cursor when in a cinematic

This commit is contained in:
Kae 2023-06-23 19:01:22 +10:00
parent fa5042902c
commit 02c2696134

View File

@ -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);