mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Lint vertical spacing in the code (#3224)
* Lint vertical spacing in the code * Add some vertical spacing for readability
This commit is contained in:
@@ -272,6 +272,7 @@ pub fn run_simple_native(
|
||||
struct SimpleApp<U> {
|
||||
update_fun: U,
|
||||
}
|
||||
|
||||
impl<U: FnMut(&egui::Context, &mut Frame)> App for SimpleApp<U> {
|
||||
fn update(&mut self, ctx: &egui::Context, frame: &mut Frame) {
|
||||
(self.update_fun)(ctx, frame);
|
||||
|
||||
@@ -335,8 +335,10 @@ pub struct EpiIntegration {
|
||||
pub egui_ctx: egui::Context,
|
||||
pending_full_output: egui::FullOutput,
|
||||
egui_winit: egui_winit::State,
|
||||
|
||||
/// When set, it is time to close the native window.
|
||||
close: bool,
|
||||
|
||||
can_drag_window: bool,
|
||||
window_state: WindowState,
|
||||
follow_system_theme: bool,
|
||||
|
||||
@@ -22,6 +22,7 @@ use super::epi_integration::{self, EpiIntegration};
|
||||
pub enum UserEvent {
|
||||
RequestRepaint {
|
||||
when: Instant,
|
||||
|
||||
/// What the frame number was when the repaint was _requested_.
|
||||
frame_nr: u64,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user