From fecc78e001a36ab0de1b905a0f6e2e0d79913b46 Mon Sep 17 00:00:00 2001 From: Enhex Date: Wed, 31 Dec 2025 02:46:17 +0200 Subject: [PATCH] fix cursor not showing when menu is open --- Source/Application/SampleProject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Application/SampleProject.cpp b/Source/Application/SampleProject.cpp index 9060675..fd9cdfa 100644 --- a/Source/Application/SampleProject.cpp +++ b/Source/Application/SampleProject.cpp @@ -101,8 +101,8 @@ void SampleProject::Start(bool isMain) stateManager->SetFadeInDuration(0.2f); stateManager->SetFadeOutDuration(0.2f); loadingScreen_ = MakeShared(context_); - loadingScreen_->SetMouseMode(MM_RELATIVE); - loadingScreen_->SetMouseVisible(false); + loadingScreen_->SetMouseMode(MM_ABSOLUTE); + loadingScreen_->SetMouseVisible(true); loadingScreen_->QueueSceneResourcesAsync("Scenes/Scene.xml"); loadingScreen_->SetProgressColor(Color::WHITE); loadingScreen_->SetDefaultFogColor(Color::GRAY);