Fix invisible window on Windows
... by reverting the changes that were supposed to hide the window initially and only show it after rendering the first frame.
This commit is contained in:
parent
da7e859840
commit
c08c78ad17
3 changed files with 12 additions and 38 deletions
|
|
@ -106,7 +106,8 @@ impl Window {
|
|||
.with_decorations(self.decorations)
|
||||
.with_transparent(self.transparent)
|
||||
.with_window_icon(self.icon)
|
||||
.with_always_on_top(self.always_on_top);
|
||||
.with_always_on_top(self.always_on_top)
|
||||
.with_visible(self.visible);
|
||||
|
||||
if let Some(position) = conversion::position(
|
||||
primary_monitor.as_ref(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue