diff options
author | 2023-02-14 06:42:59 +0100 | |
---|---|---|
committer | 2023-02-14 06:42:59 +0100 | |
commit | 4e93ae8e32bef9d6d94fe68a0d425447768c21bc (patch) | |
tree | 01161dd2771031c61f83918b60cfe13a5e927913 /winit/src/settings.rs | |
parent | efbf66b0a181e4567209e770b859da12ff1c05ad (diff) | |
parent | 9506fb1181e60e78d92b6f0712d385371966e07f (diff) | |
download | iced-4e93ae8e32bef9d6d94fe68a0d425447768c21bc.tar.gz iced-4e93ae8e32bef9d6d94fe68a0d425447768c21bc.tar.bz2 iced-4e93ae8e32bef9d6d94fe68a0d425447768c21bc.zip |
Merge pull request #1698 from iced-rs/hide-window-until-ready
Hide window until `Renderer` has been initialized
Diffstat (limited to '')
-rw-r--r-- | winit/src/settings.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winit/src/settings.rs b/winit/src/settings.rs index 9bbdef5c..45f38833 100644 --- a/winit/src/settings.rs +++ b/winit/src/settings.rs @@ -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(), |