Commit 4b8e7ea0 authored by Bhushan Shah's avatar Bhushan Shah 📱

Fix last commit

parent 3e2dc7f8
......@@ -25,7 +25,7 @@ panel.height = 60;
var bottomPanel = new Panel("org.kde.phone.taskpanel");
bottomPanel.location = "bottom";
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen.width))
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen).width)
bottomPanel.height = 150;
else
bottomPanel.height = 60;
......
Markdown is supported
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