diff --git a/workspace-manager/GotoView.qml b/workspace-manager/GotoView.qml index 3e857bc..7dc89d9 100644 --- a/workspace-manager/GotoView.qml +++ b/workspace-manager/GotoView.qml @@ -654,7 +654,7 @@ PanelWindow { const steps = index - column.selectedWs; if (!root.windowsOpen || !column.isCurrentColumn || steps === 0) return 0; - const nearest = steps < 0 ? windowLoop.frontTop - root.theme.loopWorkspaceGap - root.neighbourHalfHeight : windowLoop.frontBottom + root.theme.loopWorkspaceGap + root.neighbourHalfHeight; + const nearest = steps < 0 ? windowLoop.frontTop - root.theme.loopWorkspaceGapAbove - root.neighbourHalfHeight : windowLoop.frontBottom + root.theme.loopWorkspaceGapBelow + root.neighbourHalfHeight; return nearest - Math.sign(steps) * root.theme.carouselStepY; } // They also lean back: the top edge away above the diff --git a/workspace-manager/Theme.qml b/workspace-manager/Theme.qml index ea20ed0..c299d5b 100644 --- a/workspace-manager/Theme.qml +++ b/workspace-manager/Theme.qml @@ -79,8 +79,10 @@ QtObject { // While the loop is open, other monitors sit this far past its edge, // and workspaces above and below sit this far from the front window. + // The gap below leaves room for the key hint under the window. readonly property real loopEdgeGap: 40 - readonly property real loopWorkspaceGap: 10 + readonly property real loopWorkspaceGapAbove: 10 + readonly property real loopWorkspaceGapBelow: 30 // Extra fade on those cards while the loop is open. The workspaces // right above and below use loopNeighbourFade. readonly property real loopHiddenFade: 0.75