fix texture rotation, add tutorial popup

This commit is contained in:
Asuro
2025-06-20 23:34:32 +02:00
parent d7fc6b781e
commit 42c5b55f95
10 changed files with 50 additions and 12 deletions

View File

@@ -107,8 +107,9 @@ namespace Game
if (rendering.SetupData.UseImgui)
{
auto& IO = ImGui::GetIO();
IO.ConfigFlags =
FlagBool(IO.ConfigFlags, ImGuiConfigFlags_NoMouse | ImGuiConfigFlags_NoKeyboard, IsGaming);
IO.ConfigFlags = FlagBool(IO.ConfigFlags,
ImGuiConfigFlags_NoMouse | ImGuiConfigFlags_NoKeyboard,
GetInstance().Player.InteractionM == InteractionMode::Walk);
}
rendering.UIVisible = IsGaming ? UIVisibilityState::Game : UIVisibilityState::Debug;
}