on xenial help sign in
take margins into account when snapping
5fda2b4Michael Zanetti
qml/Launcher/LauncherPanel.qml+2−2
@@ -149,14 +149,14 @@ Rectangle {
149 id: snapToBottomAnimation
149 id: snapToBottomAnimation
150 target: launcherListView
150 target: launcherListView
151 property: "contentY"
151 property: "contentY"
152− to: launcherListView.originY
152+ to: launcherListView.originY + launcherListView.topMargin
153 }
153 }
154
154
155 UbuntuNumberAnimation {
155 UbuntuNumberAnimation {
156 id: snapToTopAnimation
156 id: snapToTopAnimation
157 target: launcherListView
157 target: launcherListView
158 property: "contentY"
158 property: "contentY"
159− to: launcherListView.contentHeight - launcherListView.height + launcherListView.originY
159+ to: launcherListView.contentHeight - launcherListView.height + launcherListView.originY - launcherListView.topMargin
160 }
160 }
161
161
162 displaced: Transition {
162 displaced: Transition {