better hints
This commit is contained in:
1 parent
fbe56658b6
commit
bcf70106e2
2 files changed
+4
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user