Remove dupe code

This commit is contained in:
Soreepeong 2025-08-07 08:24:09 +09:00
parent e05dab96c6
commit 75a1742af9

View file

@ -575,16 +575,6 @@ internal class DalamudInterface : IInternalDisposableService
if (this.isCreditsDarkening) if (this.isCreditsDarkening)
this.DrawCreditsDarkeningAnimation(); this.DrawCreditsDarkeningAnimation();
// Release focus of any ImGui window if we click into the game.
var io = ImGui.GetIO();
if (!io.WantCaptureMouse && (global::Windows.Win32.PInvoke.GetKeyState((int)VirtualKey.LBUTTON) & 0x8000) != 0)
{
unsafe
{
ImGui.SetWindowFocus((byte*)null);
}
}
} }
catch (Exception ex) catch (Exception ex)
{ {