Hide window until Renderer has been initialized

This commit is contained in:
Héctor Ramón Jiménez 2023-02-11 03:06:42 +01:00
parent 92ba26b8a1
commit 9506fb1181
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 16 additions and 7 deletions

View file

@ -114,8 +114,7 @@ impl Window {
.with_decorations(self.decorations)
.with_transparent(self.transparent)
.with_window_icon(self.icon)
.with_always_on_top(self.always_on_top)
.with_visible(self.visible);
.with_always_on_top(self.always_on_top);
if let Some(position) = conversion::position(
primary_monitor.as_ref(),