Remove message deferral for text creation (#2978)

* Remove message deferral for text creation

* Restructure Trigger Navigation ready to not hijack the PTZ Update
This commit is contained in:
Dennis Kobert
2025-08-03 16:06:30 +02:00
committed by GitHub
parent a0ce56d9b6
commit 7fcdad1f88
3 changed files with 22 additions and 33 deletions
@@ -35,6 +35,15 @@ impl MessageHandler<InputPreprocessorMessage, InputPreprocessorMessageContext> f
responses.add(NavigationMessage::CanvasPan { delta: DVec2::ZERO });
responses.add(NodeGraphMessage::SetGridAlignedEdges);
// We have to wait until a node node graph has run and all messages from that execution have been processed.
responses.add(DeferMessage::AfterGraphRun {
messages: vec![
DeferMessage::AfterGraphRun {
messages: vec![DeferMessage::TriggerNavigationReady.into()],
}
.into(),
],
});
}
}
InputPreprocessorMessage::DoubleClick { editor_mouse_state, modifier_keys } => {