From 272050d11b0483aba3550e32f2c9989c6b5c8ed3 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 1 Sep 2024 20:35:50 +0200 Subject: [PATCH] Don't allow debug overlay to be closed via ESC --- Questionable/Windows/DebugOverlay.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Questionable/Windows/DebugOverlay.cs b/Questionable/Windows/DebugOverlay.cs index e629fe010..c41daf604 100644 --- a/Questionable/Windows/DebugOverlay.cs +++ b/Questionable/Windows/DebugOverlay.cs @@ -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; }