1
0
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:
Emil Ernerfeldt
2023-11-07 19:17:24 +01:00
parent 96f1426c6f
commit a3b02002ea
4 changed files with 24 additions and 25 deletions

View File

@@ -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);