diff --git a/nannou/src/app.rs b/nannou/src/app.rs index dea755795..f1df10423 100644 --- a/nannou/src/app.rs +++ b/nannou/src/app.rs @@ -33,9 +33,9 @@ use bevy::reflect::{ }; use bevy::window::{ ExitCondition, Monitor, PrimaryMonitor, PrimaryWindow, WindowClosed, WindowFocused, - WindowResized, + WindowResized, WindowEvent }; -use bevy::winit::{UpdateMode, WinitEvent, WinitSettings}; +use bevy::winit::{UpdateMode, WinitSettings}; #[cfg(feature = "egui")] use bevy_egui::EguiContext; #[cfg(feature = "egui")] @@ -93,7 +93,7 @@ impl Clone for View { } /// A nannou `App` builder. -pub struct Builder { +pub struct Builder { app: bevy::app::App, model: ModelFn, config: Config, @@ -104,7 +104,7 @@ pub struct Builder { } /// A nannou `Sketch` builder. -pub struct SketchBuilder { +pub struct SketchBuilder { builder: Builder<(), E>, }