mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 21:42:59 -05:00
Match Objects measured a target's new size before it was turned, refused sizes that pixel-aligned art reaches before it snaps, and checked only the requested side of a proportional match. A stroke or effect that does not turn with the art, such as a Transform effect's copy, then made a reachable size fail. Each target is now measured in the frame it ends in, before pixel snapping, against both sides; when it misses, the scales in that frame are fitted from the turned object and its reference point is kept in place. A fit that leaves the target at its old angle is refused. The 1e-4 smallest scale of object.setBounds no longer applies, so a 20,000 pt object can be matched down to 1 pt. Match Objects, Set Size of Each, Swap Objects, Replace with Top Object and Sort Objects now pass the journaled Scale Corners (and Transform Pattern Tiles) values to both the size solver and the transform, so a replay scales corners as the run did. Follows up #10072.