mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
This reverts commit 0db74f3000.
This commit is contained in:
@@ -202,7 +202,6 @@ pub fn run(mut app: Box<dyn epi::App>, native_options: epi::NativeOptions) {
|
||||
http: http.clone(),
|
||||
output: &mut app_output,
|
||||
repaint_signal: repaint_signal.clone(),
|
||||
decorated: native_options.decorated,
|
||||
}
|
||||
.build();
|
||||
app.setup(ctx, &mut frame, storage.as_deref());
|
||||
@@ -227,7 +226,6 @@ pub fn run(mut app: Box<dyn epi::App>, native_options: epi::NativeOptions) {
|
||||
http: http.clone(),
|
||||
output: &mut app_output,
|
||||
repaint_signal: repaint_signal.clone(),
|
||||
decorated: native_options.decorated,
|
||||
}
|
||||
.build();
|
||||
|
||||
@@ -325,7 +323,6 @@ pub fn run(mut app: Box<dyn epi::App>, native_options: epi::NativeOptions) {
|
||||
http: http.clone(),
|
||||
output: &mut app_output,
|
||||
repaint_signal: repaint_signal.clone(),
|
||||
decorated: native_options.decorated,
|
||||
}
|
||||
.build();
|
||||
app.update(ctx, &mut frame);
|
||||
@@ -349,13 +346,7 @@ pub fn run(mut app: Box<dyn epi::App>, native_options: epi::NativeOptions) {
|
||||
}
|
||||
|
||||
{
|
||||
let epi::backend::AppOutput {
|
||||
quit,
|
||||
window_size,
|
||||
decorated,
|
||||
} = app_output;
|
||||
|
||||
display.gl_window().window().set_decorations(decorated);
|
||||
let epi::backend::AppOutput { quit, window_size } = app_output;
|
||||
|
||||
if let Some(window_size) = window_size {
|
||||
display.gl_window().window().set_inner_size(
|
||||
|
||||
Reference in New Issue
Block a user