Skip to content

Resizing an artboard by its top/left edges should keep its content stationary #2150

@Keavon

Description

@Keavon

Using the Artboard tool to resize an artboard from the top or left edge makes it shift its contents in canvas space, which isn't the desired behavior. It does this because the content is positioned in artboard space, so the Artboard tool needs to run special logic when resizing a top/left edge to compensate for the reverse of this, making the content translate by the inverse of the artboard edge resizing. The easy but bad way of doing this is adding a Transform node directly before the Artboard node. The better way is to loop through each layer that's a direct child of the artboard layer and apply a translation to it just as if the user had dragged the layers manually.

capture_10_.mp4

Metadata

Metadata

Labels

Good First IssueGood for newcomersPaper CutA small UX annoyance we should strive to improve

Projects

Status

Completed This Milestone

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions