fix krunner box position

This commit is contained in:
Marco Martin 2019-09-03 17:12:20 +02:00
parent 7b7fde14bc
commit b05ee6d25d

View file

@ -150,13 +150,6 @@ Item {
contentHeight: flickableContents.height
interactive: !plasmoid.editMode && !launcherDragManager.active
property real oldContentY
onContentYChanged: {
if (!atYBeginning) {
krunner.y = Math.min(plasmoid.availableScreenRect.y, Math.max(plasmoid.availableScreenRect.y - krunner.inputHeight, krunner.y + oldContentY - contentY));
}
oldContentY = contentY;
}
PlasmaComponents.ScrollBar.vertical: PlasmaComponents.ScrollBar {
id: scrollabr
opacity: mainFlickable.moving
@ -333,7 +326,7 @@ Item {
z: 998
height: plasmoid.availableScreenRect.height
anchors {
//top: parent.top
top: parent.top
left: parent.left
right: parent.right
topMargin: plasmoid.availableScreenRect.y