disable animations for now

animations break widget positions on the phone
This commit is contained in:
Marco Martin 2015-06-22 19:48:49 -07:00
parent de41f7dd6b
commit 546a1f9a33
2 changed files with 3 additions and 1 deletions

View file

@ -167,7 +167,7 @@ MouseEventListener {
SatelliteStripe {
id: stripe
z: 99
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition + krunner.inputHeight
property int viewPos: applicationsView.contentItem.height * applicationsView.visibleArea.yPosition
y: Math.max(viewPos,
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))

View file

@ -220,6 +220,7 @@ Item {
height: width
}
onXChanged: {
return;
if (!animationsEnabled) {
return;
}
@ -230,6 +231,7 @@ Item {
oldY = y;
}
onYChanged: {
return;
if (!animationsEnabled) {
return;
}