From b7d1dff16ff859f9aba155d868c00f4028c31fba Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Dec 2026 00:56:32 +0100 Subject: [PATCH] thing-core: fix BoolSource::Bound in input focus unit test --- crates/thing-core/src/input/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/thing-core/src/input/tests.rs b/crates/thing-core/src/input/tests.rs index c8bed17..73217ea 100644 --- a/crates/thing-core/src/input/tests.rs +++ b/crates/thing-core/src/input/tests.rs @@ -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(