Skip to content
Snippets Groups Projects
Verified Commit ca1eab24 authored by Louis's avatar Louis :fire:
Browse files

Make window size updater optional

parent e68d154f
No related branches found
No related tags found
No related merge requests found
...@@ -1004,8 +1004,8 @@ impl Plugin for KayakContextPlugin { ...@@ -1004,8 +1004,8 @@ impl Plugin for KayakContextPlugin {
calculate_ui calculate_ui
.after(update_widgets_sys) .after(update_widgets_sys)
.in_base_set(CoreSet::PostUpdate), .in_base_set(CoreSet::PostUpdate),
) );
.add_system(crate::window_size::update_window_size); // .add_system(crate::window_size::update_window_size);
// Register reflection types. // Register reflection types.
// A bit annoying.. // A bit annoying..
...@@ -1029,6 +1029,8 @@ impl Plugin for KayakContextPlugin { ...@@ -1029,6 +1029,8 @@ impl Plugin for KayakContextPlugin {
} }
} }
pub use crate::window_size::update_window_size;
fn calculate_ui(world: &mut World) { fn calculate_ui(world: &mut World) {
// dbg!("Calculating nodes!"); // dbg!("Calculating nodes!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment