mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 01:44:25 +00:00
ui-contract trials: the gesture-note trial reads the dragger's id from its response
This commit is contained in:
@@ -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())
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user