Rename epi::App::ui to epi::App::update

This commit is contained in:
Emil Ernerfeldt
2021-01-01 20:22:18 +01:00
parent defad4ed51
commit b1022d01c1
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ impl epi::App for HttpApp {
/// Called each time the UI needs repainting, which may be many times per second.
/// Put your widgets into a `SidePanel`, `TopPanel`, `CentralPanel`, `Window` or `Area`.
fn ui(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) {
fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) {
if let Some(receiver) = &mut self.in_progress {
// Are we there yet?
if let Ok(result) = receiver.try_recv() {