diff --git a/src/Myra/Graphics2D/UI/Misc/Window.cs b/src/Myra/Graphics2D/UI/Misc/Window.cs index 9341e650..92230a2c 100644 --- a/src/Myra/Graphics2D/UI/Misc/Window.cs +++ b/src/Myra/Graphics2D/UI/Misc/Window.cs @@ -144,7 +144,7 @@ public override VerticalAlignment VerticalAlignment [Category("Behavior")] [DefaultValue(Keys.Escape)] - public Keys CloseKey { get; set; } + public Keys? CloseKey { get; set; } private bool IsWindowPlaced { get; set; }