1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

feat: Set whether to show decorations (#660)

* feat: Set whether to show decorations

* cargo fmt

* Update comment and changelog
This commit is contained in:
zu1k
2021-08-28 17:18:36 +08:00
committed by GitHub
parent 2ce99f3a12
commit 0db74f3000
4 changed files with 25 additions and 1 deletions

View File

@@ -179,6 +179,7 @@ impl AppRunner {
http: runner.http.clone(),
output: &mut app_output,
repaint_signal: runner.needs_repaint.clone(),
decorated: false,
}
.build();
runner.app.setup(
@@ -251,6 +252,7 @@ impl AppRunner {
http: self.http.clone(),
output: &mut app_output,
repaint_signal: self.needs_repaint.clone(),
decorated: false,
}
.build();
@@ -266,6 +268,7 @@ impl AppRunner {
let epi::backend::AppOutput {
quit: _, // Can't quit a web page
window_size: _, // Can't resize a web page
decorated: _, // Can't show decorations
} = app_output;
}