Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
5e48cb1c
Commit
5e48cb1c
authored
Apr 06, 2022
by
Devin Lin
🎨
Browse files
homescreen: Fix stackBefore call
parent
62f7ffc0
Pipeline
#160442
passed with stages
in 1 minute and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mobileshell/qml/components/StartupFeedback.qml
View file @
5e48cb1c
...
...
@@ -145,7 +145,7 @@ MouseArea { // use mousearea to ensure clicks don't go behind
}
}
// slight pause to give slower devices time to catch up when the item becomes visible
PauseAnimation
{
duration
:
5
0
}
PauseAnimation
{
duration
:
2
0
}
ParallelAnimation
{
id
:
parallelAnim
property
real
animationDuration
:
PlasmaCore
.
Units
.
longDuration
+
PlasmaCore
.
Units
.
shortDuration
...
...
containments/homescreen/package/contents/ui/LauncherRepeater.qml
View file @
5e48cb1c
...
...
@@ -117,10 +117,10 @@ Repeater {
if
(
!
launcherDragManager
.
active
&&
parent
!=
parentFromLocation
)
{
parent
=
parentFromLocation
;
if
(
model
.
applicationLocation
===
MobileShell
.
ApplicationListModel
.
Favorites
)
{
plasmoid
.
nativeInterface
.
stackBefore
(
delegate
,
parentFromLocation
.
children
[
index
]);
MobileShell
.
HomeScreenUtils
.
stackBefore
(
delegate
,
parentFromLocation
.
children
[
index
]);
}
else
if
(
model
.
applicationLocation
===
MobileShell
.
ApplicationListModel
.
Grid
)
{
plasmoid
.
nativeInterface
.
stackBefore
(
delegate
,
parentFromLocation
.
children
[
Math
.
max
(
0
,
index
-
MobileShell
.
ApplicationListModel
.
favoriteCount
)]);
MobileShell
.
HomeScreenUtils
.
stackBefore
(
delegate
,
parentFromLocation
.
children
[
Math
.
max
(
0
,
index
-
MobileShell
.
ApplicationListModel
.
favoriteCount
)]);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment