mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
disable animations for now
animations break widget positions on the phone
This commit is contained in:
parent
de41f7dd6b
commit
546a1f9a33
2 changed files with 3 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ MouseEventListener {
|
||||||
SatelliteStripe {
|
SatelliteStripe {
|
||||||
id: stripe
|
id: stripe
|
||||||
z: 99
|
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,
|
y: Math.max(viewPos,
|
||||||
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
Math.min(parent.height, viewPos + plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height - height) + Math.max(0, -(parent.height - height + applicationsView.contentY)))
|
||||||
|
|
|
||||||
|
|
@ -220,6 +220,7 @@ Item {
|
||||||
height: width
|
height: width
|
||||||
}
|
}
|
||||||
onXChanged: {
|
onXChanged: {
|
||||||
|
return;
|
||||||
if (!animationsEnabled) {
|
if (!animationsEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -230,6 +231,7 @@ Item {
|
||||||
oldY = y;
|
oldY = y;
|
||||||
}
|
}
|
||||||
onYChanged: {
|
onYChanged: {
|
||||||
|
return;
|
||||||
if (!animationsEnabled) {
|
if (!animationsEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue