proper position of "locked" state

the search field appears at the right position as well as the applets reordering
This commit is contained in:
Marco Martin 2015-07-09 13:10:43 +02:00
parent b980f0cf8a
commit 4024edb277

View file

@ -36,7 +36,7 @@ Item {
property alias appletsSpace: applicationsView.headerItem
property int buttonHeight: width/4
property bool reorderingApps: false
property bool locked: applicationsView.contentY <= -applicationsView.headerItem.height + root.height
property bool locked: applicationsView.contentY < -applicationsView.headerItem.height + plasmoid.availableScreenRect.height
//END properties
//BEGIN functions