Change window_min_size from Size<Pixels> to Option<Size<Pixels>> (#13501)

Now we can set `window_min_size` to `None` instead of `Size::default()`.
I think this makes more sense.

Release Notes:

- N/A
This commit is contained in:
张小白
2024-06-25 12:09:08 -06:00
committed by GitHub
parent db06244972
commit d1a55d64a8
5 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -124,6 +124,6 @@ fn notification_window_options(
display_id: Some(screen.id()),
window_background: WindowBackgroundAppearance::default(),
app_id: Some(app_id.to_owned()),
window_min_size: Size::default(),
window_min_size: None,
}
}