Merge pull request #327 from msdevpt/adjust-workspace-size

chore: adjust to maintain visual proportion
This commit is contained in:
Lemmy
2025-09-20 23:27:41 -04:00
committed by GitHub
+4 -8
View File
@@ -63,18 +63,14 @@ Item {
function getWorkspaceWidth(ws) {
const d = Style.capsuleHeight * root.baseDimensionRatio
if (ws.isFocused)
return d * 2.5
else
return d
const factor = ws.isFocused ? 2.2 : 1
return d * factor
}
function getWorkspaceHeight(ws) {
const d = Style.capsuleHeight * root.baseDimensionRatio
if (ws.isFocused)
return d * 3
else
return d
const factor = ws.isFocused ? 2.2 : 1
return d * factor
}
function computeWidth() {