From 34def46225c82a00f6cc3ee9cf2713bc505d0693 Mon Sep 17 00:00:00 2001 From: ruchirguitar <113586074+ruchirguitar@users.noreply.github.com> Date: Thu, 19 Nov 2026 23:52:51 +0530 Subject: [PATCH] test(graphic-styles): use paint.setFill in out-of-sync break link test --- crates/ui-egui/src/panels/graphic_styles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/graphic_styles.rs b/crates/ui-egui/src/panels/graphic_styles.rs index c501902957..9a31f343cb 100644 --- a/crates/ui-egui/src/panels/graphic_styles.rs +++ b/crates/ui-egui/src/panels/graphic_styles.rs @@ -1868,7 +1868,7 @@ mod tests { // 3. Apply Style A to the active art and verify Break Link h.state_mut().run("graphicStyle.apply", json!({"name": "Style A"})).unwrap(); // Modify appearance so style is out of sync (not linked) - h.state_mut().run("paint.fill", json!({"color": "#ff0000"})).unwrap(); + h.state_mut().run("paint.setFill", json!({"color": "#ff0000"})).unwrap(); h.run_steps(2); let pos_a = h.get_by_label("Style A").rect().center();