Fix imgui assert.

This commit is contained in:
Ottermandias 2025-03-28 02:29:49 +01:00
parent 6cbc8bd58f
commit b189ac027b

View file

@ -6,7 +6,8 @@ public static class DebugConfigurationDrawer
{ {
public static void Draw() public static void Draw()
{ {
if (!ImUtf8.CollapsingHeaderId("Debug Logging Options")) using var id = ImUtf8.CollapsingHeaderId("Debug Logging Options"u8);
if (!id)
return; return;
ImUtf8.Checkbox("Log IMC File Replacements"u8, ref DebugConfiguration.WriteImcBytesToLog); ImUtf8.Checkbox("Log IMC File Replacements"u8, ref DebugConfiguration.WriteImcBytesToLog);