fix texture rotation, add tutorial popup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user