From 19b4fc8d437fa273f6e203be46f0841bd764527a Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 1 Nov 2026 00:53:01 +0700 Subject: [PATCH] Canvas tests: the isolation-mode Lock test uses plain paths, as the task bar shows Lock for them --- crates/ui-egui/src/canvas/tests.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ui-egui/src/canvas/tests.rs b/crates/ui-egui/src/canvas/tests.rs index b323306af..f7361da0c 100644 --- a/crates/ui-egui/src/canvas/tests.rs +++ b/crates/ui-egui/src/canvas/tests.rs @@ -6982,9 +6982,6 @@ fn the_task_bar_lock_button_locks_selected_art_in_isolation_mode() { |x: f64| json!({"anchors": [{"x": x, "y": 130}, {"x": x + 40.0, "y": 130}, {"x": x + 40.0, "y": 170}, {"x": x, "y": 170}], "closed": true}); let a = app.session.execute("path.create", &square(150.0)).unwrap()["id"].clone(); let b = app.session.execute("path.create", &square(210.0)).unwrap()["id"].clone(); - app.session.execute("select.set", &json!({"ids": [a.clone(), b]})).unwrap(); - let a = app.session.execute("shape.rectangle", &json!({"x": 150, "y": 130, "width": 40, "height": 40})).unwrap()["id"].clone(); - let b = app.session.execute("shape.rectangle", &json!({"x": 210, "y": 130, "width": 40, "height": 40})).unwrap()["id"].clone(); app.session.execute("select.set", &json!({"ids": [a.clone(), b.clone()]})).unwrap(); let g = app.session.execute("object.group", &json!({})).unwrap()["id"].clone(); app.select_tool("selection");