mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 03:17:43 +00:00
ui-widgets tests: the selectable-text trial names its canvas with Id::unique, not the deprecated Id::new
This commit is contained in:
@@ -153,7 +153,7 @@ fn metadata_value_copies_without_selecting_the_row() {
|
||||
fn tab_toggles_the_panels_from_read_only_text_a_press_or_drag_focused() {
|
||||
let text = Rc::new(Cell::new(Id::NULL));
|
||||
let seen = text.clone();
|
||||
let canvas = Id::new("document canvas");
|
||||
let canvas = Id::unique("document canvas");
|
||||
let mut fixture = Fixture::new(move |ui| {
|
||||
Button::new("Save").show(ui);
|
||||
seen.set(SelectableText::new("Path", "/projects/poster.indd").show(ui).id);
|
||||
|
||||
Reference in New Issue
Block a user