Adjust launcher default size and scale
Some checks failed
Build / release (macos-latest) (push) Has been cancelled
Build / release (ubuntu-latest) (push) Has been cancelled
Build / release (windows-latest) (push) Has been cancelled
Windows Smoke Test / windows-smoke (push) Has been cancelled

This commit is contained in:
2026-05-05 16:34:36 +09:00
parent aceec8ba5c
commit 30f8552154
4 changed files with 16 additions and 16 deletions

View File

@@ -37,7 +37,7 @@ webFrame.setVisualZoomLevelLimits(1, 1)
const BASE_WINDOW_WIDTH = 1400
const BASE_WINDOW_HEIGHT = 860
const UI_SCALE_MULTIPLIER = 1.12
const UI_SCALE_MULTIPLIER = 1.5
let responsiveLayoutFrame = null
let lastAppliedZoomFactor = null
@@ -77,7 +77,7 @@ function applyResponsiveLayout(){
const scale = clamp(
Math.min(contentBounds.width / BASE_WINDOW_WIDTH, contentBounds.height / BASE_WINDOW_HEIGHT) * UI_SCALE_MULTIPLIER,
0.72,
1.45
2
)
if(lastAppliedZoomFactor == null || Math.abs(lastAppliedZoomFactor - scale) > 0.001){