Skip to content

fix(keyboard): round preview sizes to whole points - #128

Merged
esphynox merged 1 commit into
mainfrom
fix/keyboard-preview-integral-size
Aug 23, 2026
Merged

fix(keyboard): round preview sizes to whole points#128
esphynox merged 1 commit into
mainfrom
fix/keyboard-preview-integral-size

Conversation

@esphynox

@esphynox esphynox commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Round keyboard preview sizes up to whole points before SwiftUI consumes them.
Add a regression test to keep preview sizes integral across keycap styles.

Tests

  • tuist generate
  • `xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other: xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS' -only-testing:KeytyTests/KeyboardSettingsPreviewTests

Run project commands from Apps/Keyty.

UI Changes

N/A

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

Fix a keyboard settings preview layout warning that could appear for some theme/style combinations.

@esphynox esphynox self-assigned this Aug 23, 2026
@esphynox
esphynox force-pushed the fix/keyboard-preview-integral-size branch from 3900fc8 to ac168e8 Compare August 23, 2026 00:56
@esphynox
esphynox merged commit 724ab5f into main Aug 23, 2026
1 check passed
@esphynox
esphynox deleted the fix/keyboard-preview-integral-size branch August 23, 2026 01:26
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.

1 participant