thing-core: fix BoolSource::Bound in input focus unit test
This commit is contained in:
parent
35347d3d87
commit
b7d1dff16f
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue