mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fancier anim
This commit is contained in:
parent
5a4fdc5a40
commit
851d17a03d
2 changed files with 13 additions and 4 deletions
|
|
@ -82,7 +82,7 @@ NanoShell.FullScreenOverlay {
|
|||
easing.type: Easing.InOutQuad
|
||||
properties: "offset"
|
||||
from: window.offset
|
||||
to: 0
|
||||
to: -headerHeight
|
||||
}
|
||||
ScriptAction {
|
||||
script: {
|
||||
|
|
|
|||
|
|
@ -217,19 +217,28 @@ PlasmaCore.ColorScope {
|
|||
openThreshold: units.gridUnit * 10
|
||||
headerHeight: root.height
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
contentItem: Item {
|
||||
id: panelContents
|
||||
anchors.fill: parent
|
||||
implicitWidth: quickSettingsParent.implicitWidth
|
||||
implicitHeight: quickSettingsParent.implicitHeight
|
||||
|
||||
DrawerBackground {
|
||||
Layout.fillWidth: true
|
||||
id: quickSettingsParent
|
||||
anchors.fill: parent
|
||||
z: 1
|
||||
contentItem: QuickSettings {
|
||||
id: quickSettings
|
||||
}
|
||||
}
|
||||
|
||||
DrawerBackground {
|
||||
Layout.fillWidth: true
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
y: quickSettingsParent.height - height * (1-opacity)
|
||||
opacity: slidingPanel.offset/panelContents.height
|
||||
contentItem: Item {
|
||||
id: notificationsParent
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue