Skip to content

Conversation

@henryksloan
Copy link
Contributor

@henryksloan henryksloan commented Jul 14, 2021

Fixes #259

I transformed the given nudge vector by rotating it by the negative of the root layer rotation.


This change is Reviewable

@TrueDoctor
Copy link
Member

This will still not work for subfolders.
I would still suggest to use active_document().document.root.transform.inverse

@Keavon Keavon merged commit 7f1ad04 into GraphiteEditor:master Jul 15, 2021
Keavon pushed a commit that referenced this pull request Jun 16, 2022
* Transform nudge coordinates to viewport space

* Refactor nudge transform for clarity
Keavon pushed a commit that referenced this pull request Jul 30, 2023
* Transform nudge coordinates to viewport space

* Refactor nudge transform for clarity
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.

Nudge should move in viewport space, not canvas space

3 participants