mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 10:14:46 +01:00
test(graphic-styles): use paint.setFill in out-of-sync break link test
This commit is contained in:
1 parent
d9e2947678
commit
34def46225
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user