Skip to content

Commit 543f80f

Browse files
author
dima.am
committed
Close key on window can be null - needed for turning off closing by key
1 parent 5c7bc37 commit 543f80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Myra/Graphics2D/UI/Misc/Window.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public override VerticalAlignment VerticalAlignment
144144

145145
[Category("Behavior")]
146146
[DefaultValue(Keys.Escape)]
147-
public Keys CloseKey { get; set; }
147+
public Keys? CloseKey { get; set; }
148148

149149
private bool IsWindowPlaced { get; set; }
150150

0 commit comments

Comments
 (0)