diff --git a/shell/contents/layout.js b/shell/contents/layout.js index 04d03cf7..5146e917 100644 --- a/shell/contents/layout.js +++ b/shell/contents/layout.js @@ -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;