ui-contract trials: the gesture-note trial reads the dragger's id from its response

This commit is contained in:
aiongg
2026-11-15 10:18:10 +00:00
parent 6ece3ba5ce
commit 69b10e5662
@@ -86,7 +86,7 @@ fn a_gesture_note_is_set_by_accepted_proposals_and_ends_with_the_gesture() {
let mut before = None;
let mut id = None;
frames.frame(vec![], |ui| {
id = Some(Dragger { common: Common::new(), value: Bind::bound(&mut *value), step, before: &mut before }.enabled(enabled).id_salt("dragger").show(ui).id);
id = Some(Dragger { common: Common::new(), value: Bind::bound(&mut *value), step, before: &mut before }.enabled(enabled).id_salt("dragger").show(ui).response.id);
});
(frames.ctx.clone(), id.unwrap())
};