Constrain selection highlight to the bottom of the top bar

This commit is contained in:
Tor Hedin Brønner
2018-06-25 16:50:44 +02:00
parent baf0d53000
commit 8a3bf62c9b
+1 -1
View File
@@ -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,