Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Ember/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ impl ApplicationImpl for App {
// scaled screen (1440 x 940 is 2880 x 1880 pixels at 200 %): the window is then
// fitted to the work area once it has been placed.
let weak = window.downgrade();
let _ = window.opened(move || {
window.opened(move || {
if let Some(window) = weak.upgrade() {
fit_to_work_area(&window);
}
});
}).detach();
desktop.set_main_window(Some(window));
} else if let Some(activity) = lifetime
.as_ref()
Expand Down
4 changes: 2 additions & 2 deletions Ember/reader_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ impl ReaderView {
},
Duration::from_millis(180),
DispatcherPriority::BACKGROUND,
);
).detach();
}
}
});
Expand Down Expand Up @@ -414,7 +414,7 @@ impl ReaderView {
},
DispatcherPriority::LOADED,
);
});
}).detach();
}
fn connect_platform_back(&self) {
if self.back_handler.borrow().is_some() {
Expand Down
2 changes: 1 addition & 1 deletion FerroUI
Submodule FerroUI updated 616 files
Loading