Skip to content

Update UI for consistent scaling#966

Merged
1Blademaster merged 2 commits into
mainfrom
957-bug-window-scaling-breaks-when-dragging-between-displays
Feb 1, 2026
Merged

Update UI for consistent scaling#966
1Blademaster merged 2 commits into
mainfrom
957-bug-window-scaling-breaks-when-dragging-between-displays

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings January 28, 2026 19:41
@1Blademaster 1Blademaster linked an issue Jan 28, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to improve UI scaling consistency across different platforms, particularly for high-DPI displays. The changes include CSS text-size-adjust properties for better text rendering control and Electron zoom/DPI configuration for Windows.

Changes:

  • Added CSS text-size-adjust properties with vendor prefixes for consistent text scaling
  • Added font-smoothing CSS properties to the body element
  • Configured Electron zoom factor settings in webPreferences and on window load
  • Added Windows-specific DPI support command-line switches

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
gcs/src/css/index.css Added text-size-adjust properties and font-smoothing to body element for consistent text rendering
gcs/electron/main.ts Added zoom factor configuration and Windows-specific DPI command-line switches

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/electron/main.ts Outdated
Comment thread gcs/electron/main.ts Outdated
Comment thread gcs/src/css/index.css Outdated
@1Blademaster 1Blademaster merged commit 3390939 into main Feb 1, 2026
5 checks passed
@1Blademaster 1Blademaster deleted the 957-bug-window-scaling-breaks-when-dragging-between-displays branch February 1, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Window scaling breaks when dragging between displays

2 participants