diff --git a/src/context.rs b/src/context.rs index 413cd9656f956fd0705e0f17553e393a024cdd7c..8f7ab677c410493dbb6ebc506727e73c1ae23bf5 100644 --- a/src/context.rs +++ b/src/context.rs @@ -1310,7 +1310,6 @@ impl Plugin for KayakContextPlugin { Update, ( crate::input::process_events, - crate::window_size::update_window_size, ), ) .add_systems(PostUpdate, (update_widgets_sys, calculate_ui).chain()); diff --git a/src/lib.rs b/src/lib.rs index f2895fa73d020fef5340682c26c9cd10d9569c22..ac0570bd5caeca14f8fe5cfe20627047306b3867 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,6 +31,7 @@ mod window_size; use context::KayakRootContext; pub use window_size::WindowSize; +pub use window_size::update_window_size; pub use camera::*;