1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

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

View File

@@ -293,7 +293,7 @@ impl epi::App for DemoApp {
epi::set_value(storage, epi::APP_KEY, self);
}
fn ui(&mut self, ctx: &CtxRef, frame: &mut epi::Frame<'_>) {
fn update(&mut self, ctx: &CtxRef, frame: &mut epi::Frame<'_>) {
self.frame_history
.on_new_frame(ctx.input().time, frame.info().cpu_usage);