ui-widgets: the selectable text trial names its canvas with Id::unique, as egui deprecates Id::new

This commit is contained in:
bflatastic
2026-11-24 13:48:36 +07:00
parent 27493aca39
commit bbef5516c0
@@ -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);