Commit b05ee6d2 authored by Marco Martin's avatar Marco Martin

fix krunner box position

parent 7b7fde14
...@@ -150,13 +150,6 @@ Item { ...@@ -150,13 +150,6 @@ Item {
contentHeight: flickableContents.height contentHeight: flickableContents.height
interactive: !plasmoid.editMode && !launcherDragManager.active 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 { PlasmaComponents.ScrollBar.vertical: PlasmaComponents.ScrollBar {
id: scrollabr id: scrollabr
opacity: mainFlickable.moving opacity: mainFlickable.moving
...@@ -333,7 +326,7 @@ Item { ...@@ -333,7 +326,7 @@ Item {
z: 998 z: 998
height: plasmoid.availableScreenRect.height height: plasmoid.availableScreenRect.height
anchors { anchors {
//top: parent.top top: parent.top
left: parent.left left: parent.left
right: parent.right right: parent.right
topMargin: plasmoid.availableScreenRect.y topMargin: plasmoid.availableScreenRect.y
......
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