Skip to content

Commit

Permalink
Upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 6, 2024
1 parent 887ea80 commit 7fd4934
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nannou/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down Expand Up @@ -93,7 +93,7 @@ impl<M> Clone for View<M> {
}

/// A nannou `App` builder.
pub struct Builder<M = (), E = WinitEvent> {
pub struct Builder<M = (), E = WindowEvent> {
app: bevy::app::App,
model: ModelFn<M>,
config: Config,
Expand All @@ -104,7 +104,7 @@ pub struct Builder<M = (), E = WinitEvent> {
}

/// A nannou `Sketch` builder.
pub struct SketchBuilder<E = WinitEvent> {
pub struct SketchBuilder<E = WindowEvent> {
builder: Builder<(), E>,
}

Expand Down

0 comments on commit 7fd4934

Please sign in to comment.