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
4b61f55b
Commit
4b61f55b
authored
Jan 14, 2022
by
Devin Lin
🎨
Browse files
homescreen: Only close app drawer after startup feedback is fullscreen
parent
f4f743a8
Pipeline
#123639
passed with stage
in 51 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mobilehomescreencomponents/qml/appdrawer/DrawerGridDelegate.qml
View file @
4b61f55b
...
...
@@ -42,9 +42,6 @@ MouseArea {
}
else
{
delegate
.
launch
(
delegate
.
x
+
(
PlasmaCore
.
Units
.
smallSpacing
*
2
),
delegate
.
y
+
(
PlasmaCore
.
Units
.
smallSpacing
*
2
),
icon
.
source
,
model
.
applicationName
,
model
.
applicationStorageId
);
}
// close the app drawer
MobileShell
.
HomeScreenControls
.
openHomeScreen
();
}
//preventStealing: true
...
...
components/mobilehomescreencomponents/qml/appdrawer/DrawerListDelegate.qml
View file @
4b61f55b
...
...
@@ -40,9 +40,6 @@ MouseArea {
}
else
{
delegate
.
launch
(
delegate
.
x
+
(
PlasmaCore
.
Units
.
smallSpacing
*
2
),
delegate
.
y
+
(
PlasmaCore
.
Units
.
smallSpacing
*
2
),
icon
.
source
,
model
.
applicationName
,
model
.
applicationStorageId
);
}
// close the app drawer
MobileShell
.
HomeScreenControls
.
openHomeScreen
();
}
hoverEnabled
:
true
...
...
components/mobileshell/qml/components/StartupFeedback.qml
View file @
4b61f55b
...
...
@@ -179,6 +179,13 @@ MouseArea { // use mousearea to ensure clicks don't go behind
easing.type
:
Easing
.
OutCubic
}
}
ScriptAction
{
script
:
{
// close the app drawer after it isn't visible
MobileShell
.
HomeScreenControls
.
resetHomeScreenPosition
();
}
}
}
}
]
...
...
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