Adjust launcher default size and scale
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user