Don't allow debug overlay to be closed via ESC
authorLiza Carvelli <liza@carvel.li>
Sun, 1 Sep 2024 18:35:50 +0000 (20:35 +0200)
committerLiza Carvelli <liza@carvel.li>
Sun, 1 Sep 2024 18:35:50 +0000 (20:35 +0200)
Questionable/Windows/DebugOverlay.cs

index e629fe0102671f50c9065ca2301cda10c6bec66e..c41daf60461650040080fde3b2724749ff380646 100644 (file)
@@ -45,6 +45,8 @@ internal sealed class DebugOverlay : Window
         Size = ImGui.GetIO().DisplaySize;
         SizeCondition = ImGuiCond.Always;
         IsOpen = true;
+        ShowCloseButton = false;
+        RespectCloseHotkey = false;
     }
 
     public ElementId? HighlightedQuest { get; set; }