Disable esc key on RecipeNote window

This commit is contained in:
Asriel Camora
2023-10-24 00:21:14 -07:00
parent 39e95305af
commit 3836fbef10
+5 -2
View File
@@ -80,9 +80,12 @@ public sealed unsafe class RecipeNote : Window, IDisposable
NoManipulationBadge = Service.IconManager.GetAssemblyTexture("Graphics.no_manip.png");
AxisFont = Service.PluginInterface.UiBuilder.GetGameFontHandle(new(GameFontFamilyAndSize.Axis14));
Service.WindowSystem.AddWindow(this);
RespectCloseHotkey = false;
DisableWindowSounds = true;
ShowCloseButton = false;
IsOpen = true;
Service.WindowSystem.AddWindow(this);
}
private bool wasOpen;