Skip to content

Adjust ruler tick alignment when document is tilted#3715

Draft
GiacomoViolini wants to merge 3 commits intoGraphiteEditor:masterfrom
GiacomoViolini:fix/ruler-tilt-alignment
Draft

Adjust ruler tick alignment when document is tilted#3715
GiacomoViolini wants to merge 3 commits intoGraphiteEditor:masterfrom
GiacomoViolini:fix/ruler-tilt-alignment

Conversation

@GiacomoViolini
Copy link

Closes #1482

@Keavon
Copy link
Member

Keavon commented Feb 3, 2026

!build

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

📦 Build Complete for 8777fea
https://e003737f.graphite.pages.dev

@Keavon
Copy link
Member

Keavon commented Feb 3, 2026

This doesn't seem to be working, does it?

@GiacomoViolini
Copy link
Author

Maybe I misunderstood some of the requirements.

Senza.titolo.mp4

Should I change something about the ruler behavior when tilted?

The current build doesn't include the interval width change based on the angle by the way.

@Keavon
Copy link
Member

Keavon commented Feb 4, 2026

If the current build doesn't include the actual requested feature, what do all the code changes do? I was not able to notice any difference from normal, so I am confused.

@GiacomoViolini
Copy link
Author

GiacomoViolini commented Feb 4, 2026

For example:
This is the current ruler at 45
image
This the ruler with the changes
image

As you can see it is tilted, following the tilt angle. If you retrigger the build you should see the latest changes (I don't know if I'm allowed to trigger it myself).

Let me know if you were expecting something different from the issue

@Keavon
Copy link
Member

Keavon commented Feb 4, 2026

!build

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

📦 Build Complete for c945bd7
https://6786bdf0.graphite.pages.dev

@jsjgdh
Copy link
Contributor

jsjgdh commented Feb 11, 2026

There appears to be a mismatch, as shown in the image. As you can see 0 of the ruler is not aligned after the tilt .

image

@Keavon Keavon marked this pull request as draft February 13, 2026 00:19
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.

Stretch and tilt ruler increments when canvas is tilted

3 participants