Skip to content

[codex] Make ruler side types axis-specific - #221

Merged
pascalpp merged 2 commits into
mainfrom
pascal/209-type-improvements
Jun 15, 2026
Merged

pascalpp merged 2 commits into
mainfrom
pascal/209-type-improvements

Conversation

@pascalpp

Copy link
Copy Markdown
Owner

Summary

  • Replace the broad ruler side model with axis-specific horizontal and vertical side types.
  • Expose typed zero-corner geometry properties for tick, resize, and corner placement decisions.
  • Remove defensive assertion fallback branches that represented impossible axis combinations.
  • Add focused unit coverage for the typed geometry outputs.

Fixes #209

Validation

  • xcodebuild -project 'Free Ruler.xcodeproj' -scheme 'Free Ruler' test -only-testing:FreeRulerTests
  • git diff --check

@pascalpp
pascalpp marked this pull request as ready for review June 15, 2026 03:02
@pascalpp
pascalpp merged commit f2bc306 into main Jun 15, 2026
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.

[codex suggestion] Make ruler corner placements axis-specific

1 participant