fix: close gamepad overlay when setting is disabled

This commit is contained in:
goaaats 2022-06-24 14:11:55 +02:00
parent bf72ad589d
commit b7cbaacac6
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
5 changed files with 16 additions and 8 deletions

View file

@ -128,9 +128,9 @@ namespace Dalamud.Game.Gui.Internal
private void ToggleWindow(bool visible)
{
if (visible)
Service<DalamudInterface>.Get().OpenIMEWindow();
Service<DalamudInterface>.Get().OpenImeWindow();
else
Service<DalamudInterface>.Get().CloseIMEWindow();
Service<DalamudInterface>.Get().CloseImeWindow();
}
private long WndProcDetour(IntPtr hWnd, uint msg, ulong wParam, long lParam)