Fix last commit

This commit is contained in:
Bhushan Shah 2015-08-21 20:30:11 +05:30
parent 3e2dc7f8fa
commit 4b8e7ea0d8

View file

@ -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;