Skip to content

Commit f4af470

Browse files
authored
Merge pull request #480 from Newbilius/turn_off_close_key_for_window
Close key on window now can setted to null - needed for turning off closing by key
2 parents c50b413 + 543f80f commit f4af470

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)