mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #1837 from Soreepeong/fix/handleimmdetour-fix
Skip IMM ImGui handling if ImGui is not initialized
This commit is contained in:
commit
33b64e783c
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