(eframe) add Frame.set_visible (#1808)

This commit is contained in:
Julian
2022-07-21 14:16:56 -04:00
committed by GitHub
parent cbe22a0371
commit 0338843950
3 changed files with 14 additions and 0 deletions
+5
View File
@@ -120,6 +120,7 @@ pub fn handle_app_output(
decorated,
drag_window,
window_pos,
visible,
} = app_output;
if let Some(decorated) = decorated {
@@ -150,6 +151,10 @@ pub fn handle_app_output(
if drag_window {
let _ = window.drag_window();
}
if let Some(visible) = visible {
window.set_visible(visible);
}
}
// ----------------------------------------------------------------------------