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,11 +46,13 @@ ContainmentItem {
|
||||||
autoPaddingEnabled: false
|
autoPaddingEnabled: false
|
||||||
source: Plasmoid.wallpaperGraphicsObject
|
source: Plasmoid.wallpaperGraphicsObject
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: Math.max(
|
opacity: Math.min(1,
|
||||||
1 - homeScreen.contentOpacity,
|
Math.max(
|
||||||
Folio.HomeScreenState.appDrawerOpenProgress,
|
1 - homeScreen.contentOpacity,
|
||||||
Folio.HomeScreenState.searchWidgetOpenProgress,
|
Folio.HomeScreenState.appDrawerOpenProgress * 2, // blur faster during swipe
|
||||||
Folio.HomeScreenState.folderOpenProgress
|
Folio.HomeScreenState.searchWidgetOpenProgress * 1.5, // blur faster during swipe
|
||||||
|
Folio.HomeScreenState.folderOpenProgress
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue