diff --git a/src/context.rs b/src/context.rs index 3b19a7f35783feee29afd7295e6e9721c6c36403..00d63852bc92931532aeb15e3f5c390fc81ce6e8 100644 --- a/src/context.rs +++ b/src/context.rs @@ -1004,8 +1004,8 @@ impl Plugin for KayakContextPlugin { calculate_ui .after(update_widgets_sys) .in_base_set(CoreSet::PostUpdate), - ) - .add_system(crate::window_size::update_window_size); + ); + // .add_system(crate::window_size::update_window_size); // Register reflection types. // A bit annoying.. @@ -1029,6 +1029,8 @@ impl Plugin for KayakContextPlugin { } } +pub use crate::window_size::update_window_size; + fn calculate_ui(world: &mut World) { // dbg!("Calculating nodes!");