mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Skip IMM ImGui handling if ImGui is not initialized (#1836)
This commit is contained in:
parent
a12edcbae0
commit
6247542169
1 changed files with 3 additions and 0 deletions
|
|
@ -496,6 +496,9 @@ internal sealed unsafe class GameGui : IInternalDisposableService, IGameGui
|
|||
private char HandleImmDetour(IntPtr framework, char a2, byte a3)
|
||||
{
|
||||
var result = this.handleImmHook.Original(framework, a2, a3);
|
||||
if (!ImGuiHelpers.IsImGuiInitialized)
|
||||
return result;
|
||||
|
||||
return ImGui.GetIO().WantTextInput
|
||||
? (char)0
|
||||
: result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue