mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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 {
|
||||
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)))
|
||||
|
|
|
|||
|
|
@ -220,6 +220,7 @@ Item {
|
|||
height: width
|
||||
}
|
||||
onXChanged: {
|
||||
return;
|
||||
if (!animationsEnabled) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -230,6 +231,7 @@ Item {
|
|||
oldY = y;
|
||||
}
|
||||
onYChanged: {
|
||||
return;
|
||||
if (!animationsEnabled) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue