Verify flippable ruler integration#206
Merged
pascalpp merged 2 commits intoJun 13, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds integration-oriented unit tests to validate the “flippable ruler” (zero-corner) feature, specifically covering mouse number label formatting across units after flips, and ensuring reset-position behavior honors the active zero corner and maintains a coherent shared corner layout (as required by issues #192 and #197).
Changes:
- Add a test ensuring mouse number labels (px/mm/in) remain correct after flipping to a non-default zero corner.
- Add tests verifying
resetPosition()uses the currentprefs.zeroCornerand preserves a shared zero point for flipped default layouts.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Jun 13, 2026
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jun 13, 2026
Merged
121c669 to
04e005c
Compare
2ea112e to
e5d1752
Compare
e5d1752 to
f08d72b
Compare
04e005c to
db245c7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Validation
xcodebuild -project "Free Ruler.xcodeproj" -scheme "Free Ruler" test -only-testing:FreeRulerTestsPart of #192. Addresses #197.