(kinda) fix ui offset
This commit is contained in:
@@ -107,9 +107,8 @@ namespace Game
|
||||
if (rendering.SetupData.UseImgui)
|
||||
{
|
||||
auto& IO = ImGui::GetIO();
|
||||
IO.ConfigFlags = FlagBool(IO.ConfigFlags,
|
||||
ImGuiConfigFlags_NoMouse | ImGuiConfigFlags_NoKeyboard,
|
||||
GetInstance().Player.InteractionM == InteractionMode::Walk);
|
||||
IO.ConfigFlags =
|
||||
FlagBool(IO.ConfigFlags, ImGuiConfigFlags_NoMouse | ImGuiConfigFlags_NoKeyboard, captureMouse);
|
||||
}
|
||||
rendering.UIVisible = IsGaming ? UIVisibilityState::Game : UIVisibilityState::Debug;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user