diff --git a/crates/ui-contract/src/contract/run.rs b/crates/ui-contract/src/contract/run.rs index aef555703..e046b72ab 100644 --- a/crates/ui-contract/src/contract/run.rs +++ b/crates/ui-contract/src/contract/run.rs @@ -883,7 +883,8 @@ fn run_in_host(p: &mut Pass<'_, '_, '_>, ui: &mut Ui, host_at: Option, h p.real = true; let inspected = p.trace.recording() && inspect::open_element(ui, id, facts.name); let e = &mut *p.p; - e.core().parted = true; + // An inert run skips the parts step and leaves early, so it declares no parts: its parts read idle. + e.core().parted = !inert; // 7 parts p.trace.mark(Step::Parts); let flow = Flow::new(rect, rtl);