mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Make sure panels are positioned in the right place on the first run
Addresses a problem where the bottom panel would be on top on first runs sometimes.
This commit is contained in:
parent
4bba6ac402
commit
7f79b373ea
1 changed files with 2 additions and 0 deletions
|
|
@ -5,8 +5,10 @@ for (var j = 0; j < desktopsArray.length; j++) {
|
|||
desktopsArray[0].addWidget("org.kde.phone.krunner", 0, 0, screenGeometry(0).width, 20)
|
||||
// keep this list in sync with shell/contents/updates/panelsfix.js
|
||||
var panel = new Panel("org.kde.phone.panel");
|
||||
panel.location = "top";
|
||||
panel.addWidget("org.kde.plasma.notifications");
|
||||
panel.addWidget("org.kde.plasma.mediacontroller");
|
||||
panel.height = 1 * gridUnit;
|
||||
|
||||
var bottomPanel = new Panel("org.kde.phone.taskpanel")
|
||||
bottomPanel.location = "bottom";
|
||||
|
|
|
|||
Loading…
Reference in a new issue