Use per panel positioning

This commit is contained in:
Charles Gagnon
2020-06-13 07:40:33 -04:00
parent aea236d2f4
commit 20f66a5a5f
11 changed files with 170 additions and 167 deletions

View File

@@ -79,7 +79,7 @@ var dtpPanelStyle = Utils.defineClass({
this._rightBoxOperations = [];
let trayPadding = Me.settings.get_int('tray-padding');
let isVertical = Panel.checkIfVertical();
let isVertical = this.panel.checkIfVertical();
let paddingStyle = 'padding: ' + (isVertical ? '%dpx 0' : '0 %dpx');
if(trayPadding >= 0) {