Adjust launcher default size and scale
This commit is contained in:
@@ -2465,7 +2465,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
position: relative;
|
||||
transition: top 2s ease;
|
||||
top: 0px;
|
||||
height: 77%;
|
||||
height: 82%;
|
||||
display: flex;
|
||||
}
|
||||
#landingContainer > #upper > #left {
|
||||
@@ -2488,7 +2488,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
|
||||
/* Lower content container. */
|
||||
#landingContainer > #lower {
|
||||
height: 23%;
|
||||
height: 18%;
|
||||
display: flex;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
|
||||
}
|
||||
@@ -2503,7 +2503,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
}
|
||||
#landingContainer > #lower > #left #content {
|
||||
position: relative;
|
||||
top: 25px;
|
||||
top: 12px;
|
||||
display: inline-flex;
|
||||
line-height: 28px;
|
||||
left: 50px;
|
||||
@@ -2521,7 +2521,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
position: relative;
|
||||
z-index: 500;
|
||||
transition: top 2s ease;
|
||||
top: 10px;
|
||||
top: 5px;
|
||||
}
|
||||
#landingContainer > #lower > #right {
|
||||
position: relative;
|
||||
@@ -3474,7 +3474,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
/* Main launch content container. */
|
||||
#landingContainer > #lower > #right #launch_content {
|
||||
position: relative;
|
||||
top: 25px;
|
||||
top: 12px;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
@@ -3509,7 +3509,7 @@ input:checked + .toggleSwitchSlider:before {
|
||||
/* Launch details main container, hidden until launch processing begins. */
|
||||
#launch_details {
|
||||
position: relative;
|
||||
top: 25px;
|
||||
top: 12px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -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