Trying out a border on the sidepanel + fullhd fix

This commit is contained in:
quadbyte 2025-08-07 17:52:54 -04:00
parent 3161ac6c83
commit a41bd64cf6
2 changed files with 53 additions and 38 deletions

View file

@ -17,11 +17,11 @@ Singleton {
// Automatic scaling based on screen width
function scale(currentScreen) {
if (currentScreen !== undefined) {
var rawRatio = currentScreen.width / designScreenWidth
var rawRatio = currentScreen.width / designScreenWidth;
// Apply dampening to reduce scaling for higher resolutions
return Math.min(2.0, 1.0 + (rawRatio - 1.0) * scalingDampening)
return Math.min(2.0, 1.0 + (rawRatio - 1.0) * scalingDampening);
}
return 1.0
return 1.0;
}
function applyOpacity(color, opacity) {