Skip to content

Conversation

@pratikagr
Copy link
Contributor

Fixes #2150

  • added a function get_child_layers_of_selected_artboard to fetch all the child layers within an artboard.
  • Iterate through all the child layers and applied transformation to each of them.

@github-actions
Copy link

📦 Build Complete for 2f02fad
https://524849ad.graphite.pages.dev

@pratikagr
Copy link
Contributor Author

woahh that's insightful! thanks a ton!!
its working now as intended.

@Keavon
Copy link
Member

Keavon commented Dec 31, 2024

This suffers from #1529 which is expected, and can be resolved in that issue. This otherwise works great. Thanks @pratikagr and @0HyperCube.

@pratikagr, please leave a comment in #2150.

@Keavon Keavon changed the title added fetch child layer function Make the Artboard tool shift its contents if resizing from the top/left so artwork is stationary Dec 31, 2024
@pratikagr
Copy link
Contributor Author

This suffers from #1529 which is expected, and can be resolved in that issue. This otherwise works great. Thanks @pratikagr and @0HyperCube.

@pratikagr, please leave a comment in #2150.

what do I need to comment exactly?

@Keavon
Copy link
Member

Keavon commented Dec 31, 2024

Anything.

@Keavon Keavon enabled auto-merge (squash) December 31, 2024 18:28
@Keavon Keavon merged commit 606be8a into GraphiteEditor:master Dec 31, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants