Disable esc key on RecipeNote window
This commit is contained in:
@@ -80,9 +80,12 @@ public sealed unsafe class RecipeNote : Window, IDisposable
|
|||||||
NoManipulationBadge = Service.IconManager.GetAssemblyTexture("Graphics.no_manip.png");
|
NoManipulationBadge = Service.IconManager.GetAssemblyTexture("Graphics.no_manip.png");
|
||||||
AxisFont = Service.PluginInterface.UiBuilder.GetGameFontHandle(new(GameFontFamilyAndSize.Axis14));
|
AxisFont = Service.PluginInterface.UiBuilder.GetGameFontHandle(new(GameFontFamilyAndSize.Axis14));
|
||||||
|
|
||||||
Service.WindowSystem.AddWindow(this);
|
RespectCloseHotkey = false;
|
||||||
|
DisableWindowSounds = true;
|
||||||
|
ShowCloseButton = false;
|
||||||
IsOpen = true;
|
IsOpen = true;
|
||||||
|
|
||||||
|
Service.WindowSystem.AddWindow(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool wasOpen;
|
private bool wasOpen;
|
||||||
|
|||||||
Reference in New Issue
Block a user