Respect workarea.y when laying out the tiling

Ref: #103
This commit is contained in:
Ole Jørgen Brønner
2019-04-27 17:50:25 +02:00
parent 72ac302a62
commit f4e91d1e4f
+3 -3
View File
@@ -370,9 +370,9 @@ class Space extends Array {
this._inLayout = false;
return;
}
let availableHeight = (workArea.y - this.monitor.y + workArea.height -
panelBox.height - prefs.vertical_margin);
let y0 = panelBox.height + prefs.vertical_margin;
let availableHeight = (workArea.height - prefs.vertical_margin);
let y0 = workArea.y - this.monitor.y + prefs.vertical_margin;
let fixPointAttempCount = 0;
for (let i=0; i<this.length; i++) {