Skip to content

Conversation

@clicktodev
Copy link

@clicktodev clicktodev commented Sep 22, 2025

closes #1015

Introduce a setting for maximum preview image size, updating the UI components to reflect this change and ensuring that image sizes adhere to the specified limits.

Screen.Recording.2025-09-22.at.1.23.24.PM.mp4

@clicktodev clicktodev mentioned this pull request Sep 22, 2025
2 tasks
@eugeneb1ack
Copy link

Thank you so much

static var previewImageSize: NSSize { NSScreen.forPopup?.visibleFrame.size ?? NSSize(width: 2048, height: 1536) }
static var previewImageSize: NSSize {
let maxSize = CGFloat(Defaults[.previewImageMaxSize])
let screenSize = NSScreen.forPopup?.visibleFrame.size ?? NSSize(width: 2048, height: 1536)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we multiply the screen size by a coefficient - NSScreen.forPopup?.visibleFrame.size * 0.9 to ensure that we dont take over the whole screen?

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.

Image preview too large

3 participants