Skip to content

feat: add support for choosing between Logical (1x) and Native (Retina) capture resolutions#134

Merged
jsattler merged 1 commit intojsattler:mainfrom
samandeep-singh:125-support-choosing-between-logical-and-native-capture-resolution
Mar 18, 2026
Merged

feat: add support for choosing between Logical (1x) and Native (Retina) capture resolutions#134
jsattler merged 1 commit intojsattler:mainfrom
samandeep-singh:125-support-choosing-between-logical-and-native-capture-resolution

Conversation

@samandeep-singh
Copy link
Contributor

@samandeep-singh samandeep-singh commented Mar 15, 2026

Issue: #125

Changelog

  • Added a toggle for Capture Native Resolution to SettingsView and MenuBarSettingsView
  • Updated SettingsStore to add a new UserDefault for captureNativeResolution and added a register function that sets the default value for the key to true. The UserDefaults.standard.register() function sets the default value for the key if it doesn't already exist in User Defaults
  • Updated RecorderViewModel.getContentSize() function to conditionally apply scale multiplication

Screenshots

Please let me know if the positioning of the toggle should be changed or any other modifications I should make, thanks!

MenuBarSettingsView SettingsView

@samandeep-singh samandeep-singh marked this pull request as ready for review March 15, 2026 01:53
@jsattler
Copy link
Owner

Hi @samandeep-singh thanks for your contribution. I'd like to keep the resolution setting in the advanced section only (not in the menu bar), since the menu bar is already growing quite large. What do you think? I'll take a closer look into rest of the changes asap.

This will be a great improvement!

@samandeep-singh
Copy link
Contributor Author

Definitely, I think that will be better, I can remove it from the menu bar. Feel free to let me know any other changes you'd like me to make and I'll update the PR

@jsattler
Copy link
Owner

Definitely, I think that will be better, I can remove it from the menu bar. Feel free to let me know any other changes you'd like me to make and I'll update the PR

Code looks good, thanks! I'm going to do some smoke testing tomorrow and test that everything works.

@jsattler jsattler merged commit f05f74e into jsattler:main Mar 18, 2026
2 checks passed
jsattler added a commit that referenced this pull request Mar 18, 2026
- Align default value pattern with existing codebase convention (as? Bool ?? true)
- Remove unnecessary init() and registerDefaultSettings() from SettingsStore
- Rename toggle label to 'Native Resolution'
- Remove toggle from MenuBarSettingsView
- Improve help text to clarify toggle behavior and non-Retina displays
- Fix missing space in ternary expression
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.

2 participants