thing-core: fix BoolSource::Bound in input focus unit test

This commit is contained in:
Meta Vens 2026-12-06 00:56:32 +01:00
commit b7d1dff16f

View file

@ -999,13 +999,14 @@ fn focus_order_follows_laid_order_respects_modal_floor_and_includes_empty_scroll
fn disabled_button_is_skipped_in_order_but_keeps_focus_until_next_traversal() {
let mut b_disabled = button("b", "go", 160.0, 48.0);
if let Node::Button(btn) = &mut b_disabled {
btn.enabled = BoolSource::Record(RecordBind {
btn.enabled = BoolSource::Bound(Bind {
source: StateSource::Record(StateRef {
provider: Some(ProviderId::new(PROVIDER)),
schema: SchemaId::new("gamecult.thing.test.flag.v1"),
key: RecordKey::new("flag"),
}),
member: path(&["Enabled"]),
format: None,
});
}
let doc = surface(