summaryrefslogtreecommitdiff
path: root/engine/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-21 17:34:54 +0200
committerHampusM <hampus@hampusmat.com>2026-07-21 17:34:54 +0200
commit28f89e277f83667990c580a6d17cfcca29ee1ff3 (patch)
tree85d683df3e256ed70f4e914baaa556083587ce94 /engine/src
parenta51a156cd19e5c5746a9391685310b66cbb78d5d (diff)
refactor(engine): make windowing phase child of pre-update phaseHEADmaster
Diffstat (limited to 'engine/src')
-rw-r--r--engine/src/windowing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/windowing.rs b/engine/src/windowing.rs
index b59075e..7038e06 100644
--- a/engine/src/windowing.rs
+++ b/engine/src/windowing.rs
@@ -26,7 +26,7 @@ use crate::ecs::component::Component;
use crate::ecs::entity::obtainer::Obtainer as EntityObtainer;
use crate::ecs::event::component::{Added, Changed, EventMatchExt, Removed};
use crate::ecs::pair::{ChildOf, Pair};
-use crate::ecs::phase::{Phase, UPDATE as UPDATE_PHASE};
+use crate::ecs::phase::{Phase, PRE_UPDATE as PRE_UPDATE_PHASE};
use crate::ecs::sole::Single;
use crate::ecs::system::observer::Observe;
use crate::ecs::uid::Uid;
@@ -68,7 +68,7 @@ const TEXT_KEY_QUEUE_SIZE: usize = 255;
static CONTEXT_CREATED: AtomicBool = AtomicBool::new(false);
declare_entity! {
-pub PHASE: (Phase, pair!(ChildOf, { *UPDATE_PHASE }));
+pub PHASE: (Phase, pair!(ChildOf, { *PRE_UPDATE_PHASE }));
}
#[derive(Debug, Default)]