mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
Replace ui.ctx().foo with ui.foo in a few places (#7774)
Internal code cleanup after * https://github.com/emilk/egui/pull/7770
This commit is contained in:
@@ -109,7 +109,7 @@ impl eframe::App for MyApp {
|
||||
}
|
||||
|
||||
if self.blinky {
|
||||
let now = ui.ctx().input(|i| i.time);
|
||||
let now = ui.input(|i| i.time);
|
||||
let blink = now % 1.0 < 0.5;
|
||||
egui::Frame::new()
|
||||
.inner_margin(3)
|
||||
|
||||
Reference in New Issue
Block a user