mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/folio: Blur faster during swipes
This commit is contained in:
parent
b515d6ffba
commit
c9784b143d
1 changed files with 7 additions and 5 deletions
|
|
@ -46,12 +46,14 @@ ContainmentItem {
|
|||
autoPaddingEnabled: false
|
||||
source: Plasmoid.wallpaperGraphicsObject
|
||||
anchors.fill: parent
|
||||
opacity: Math.max(
|
||||
opacity: Math.min(1,
|
||||
Math.max(
|
||||
1 - homeScreen.contentOpacity,
|
||||
Folio.HomeScreenState.appDrawerOpenProgress,
|
||||
Folio.HomeScreenState.searchWidgetOpenProgress,
|
||||
Folio.HomeScreenState.appDrawerOpenProgress * 2, // blur faster during swipe
|
||||
Folio.HomeScreenState.searchWidgetOpenProgress * 1.5, // blur faster during swipe
|
||||
Folio.HomeScreenState.folderOpenProgress
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
function homeAction() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue