better hints

This commit is contained in:
ari committed 2026-09-23 13:55:18 -04:00
1 parent fbe56658b6
commit bcf70106e2
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -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