mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 05:37:04 +00:00
Framework follow-up F-19 (lead, q222): an inert run declares no parts, so its parts read idle (run.rs: parted = !inert)
This commit is contained in:
@@ -883,7 +883,8 @@ fn run_in_host(p: &mut Pass<'_, '_, '_>, ui: &mut Ui, host_at: Option<ShowAt>, 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);
|
||||
|
||||
Reference in New Issue
Block a user