mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Constrain selection highlight to the bottom of the top bar
This commit is contained in:
@@ -1018,7 +1018,7 @@ function updateSelection(space, noAnimate) {
|
||||
let protrusion = Math.round(prefs.window_gap/2);
|
||||
Tweener.addTween(space.selection,
|
||||
{x: frame.x - protrusion,
|
||||
y: frame.y - protrusion,
|
||||
y: Math.max(frame.y, panelBox.height + prefs.vertical_margin) - protrusion,
|
||||
width: frame.width + prefs.window_gap,
|
||||
height: frame.height + prefs.window_gap,
|
||||
time: noAnimate ? 0 : 0.25,
|
||||
|
||||
Reference in New Issue
Block a user