Commit 8c22f48e authored by Devin Lin's avatar Devin Lin 🎨
Browse files

[shell/updates] Ensure upgrade process has new panel height

parent b8d09632
Pipeline #131792 passed with stages
in 55 seconds
// SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* Configuration updates for Plasma 5.24
* - Panel heights were changed, ensure those are updated
*/
print("Applying shell updates for 5.24...")
for (let i in panels()) {
print("Found panel of type: " + panels()[i].type);
if (panels()[i].type === "org.kde.phone.panel") {
panels()[i].height = 1.25 * gridUnit;
} else if (panels()[i].type === "org.kde.phone.taskpanel") {
panels()[i].height = 2 * gridUnit;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment