mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Some better naming and cleanup of viewport.rs
This commit is contained in:
@@ -45,8 +45,6 @@ impl EguiGlow {
|
||||
self.egui_winit.on_event(&self.egui_ctx, event)
|
||||
}
|
||||
|
||||
/// Returns the `Duration` of the timeout after which egui should be repainted even if there's no new events.
|
||||
///
|
||||
/// Call [`Self::paint`] later to paint.
|
||||
pub fn run(&mut self, window: &winit::window::Window, run_ui: impl FnMut(&egui::Context)) {
|
||||
let raw_input = self.egui_winit.take_egui_input(window);
|
||||
|
||||
Reference in New Issue
Block a user