Commit 29dda81a authored by Marco Martin's avatar Marco Martin

fixes to close anim

parent 77587085
......@@ -76,7 +76,8 @@ NanoShell.FullScreenOverlay {
return;
}
scrollAnim.from = tasksView.contentY;
if (tasksView.contentY + window.height < tasksView.contentHeight - tasksView.contentY) {
if (tasksView.contentY + window.height <= tasksView.contentHeight - tasksView.contentY) {
scrollAnim.to = 0;
} else {
scrollAnim.to = tasksView.contentHeight - window.height;
......@@ -278,11 +279,16 @@ NanoShell.FullScreenOverlay {
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
bottomMargin: window.height
}
columns: 2
y: parent.height - height - window.height
Behavior on y {
NumberAnimation {
duration: units.longDuration
easing.type: Easing.InOutQuad
}
}
Repeater {
model: window.model
delegate: Task {}
......
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