Repository navigation
feat(keyboard): add visualizer opacity setting - #182
Merged
Merged
Conversation
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
Addresses issue #181
Adds an Opacity setting for the keyboard visualizer, shown as a slider right after Size in Keyboard settings.
opacitysetting (keyboard_visualizer.opacity) onKeyboardVisualizerSettings. Defaults to 100%, clamped to 10–100% at the settings layer so the overlay can't be made fully invisible. An unset value falls back to 100%, and reset to defaults restores it.opacityChangespublisher drives the overlay window'salphaValuelive. It sits on top of the existing per-group fade-out instead of replacing it.Tests
tuist generatexcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'macos-latestwill hit it once that image moves to Xcode 27.New tests in
KeyboardVisualizerSettingsTests: registered default, persistence, clamping and unset fallback, andopacityChangesemitting only distinct values, including on reset.Run project commands from
Apps/Keyty.UI Changes
keyty-keyboard-visualizer-opacity.mov
Documentation
Release Notes
Keyboard visualizer: new Opacity setting (Settings → Keyboard) to make the on-screen keystroke overlay semi-transparent.