Skip to content

Commit

Permalink
Close key on window can be null - needed for turning off closing by key
Browse files Browse the repository at this point in the history
  • Loading branch information
dima.am committed Jan 10, 2025
1 parent 5c7bc37 commit 543f80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Myra/Graphics2D/UI/Misc/Window.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit 543f80f

Please sign in to comment.