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
f99e8ff0
Commit
f99e8ff0
authored
Apr 11, 2022
by
Devin Lin
🎨
Browse files
homescreen: Don't animate if task switcher is visible
parent
4e95a4ab
Pipeline
#162847
passed with stages
in 1 minute and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mobileshell/qml/homescreen/HomeScreen.qml
View file @
f99e8ff0
...
...
@@ -143,10 +143,13 @@ Item {
target
:
MobileShell
.
WindowUtil
function
onActiveWindowIsShellChanged
()
{
if
(
MobileShell
.
WindowUtil
.
activeWindowIsShell
&&
!
taskSwitcher
.
visible
)
{
itemContainer
.
zoomIn
();
}
else
{
itemContainer
.
zoomOut
();
// only animate if homescreen is visible
if
(
!
taskSwitcher
.
visible
)
{
if
(
MobileShell
.
WindowUtil
.
activeWindowIsShell
)
{
itemContainer
.
zoomIn
();
}
else
{
itemContainer
.
zoomOut
();
}
}
}
}
...
...
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