Just scale the top bar down, don't hide it, when ensuring

This prevents the hide signal being triggered and doing the wrong thing while
previewing a fullscreen window while `selectedWindow` is non-fullscreen.
This commit is contained in:
Tor Hedin Brønner
2017-10-01 14:45:41 +02:00
parent 5beb29fa1b
commit 2bee270ccf
-3
View File
@@ -275,9 +275,6 @@ ensure_viewport = (space, meta_window, force) => {
Tweener.addTween(panelBox, {
scale_y: 0,
time: 0.25,
onComplete: () => {
panelBox.visible = false;
}
});
} else if (required_width <= primary.width) {