reworked Workspace.qml to support specialworkspace, fixed launcher opening on two monitors, added slider animation back as an option

This commit is contained in:
SomeElse
2026-05-29 01:59:43 +00:00
parent 7606b96a09
commit a380963757
21 changed files with 120 additions and 57 deletions

View File

@@ -14,17 +14,33 @@ Rectangle {
anchors.top: isTop ? parent.top : undefined
anchors.bottom: isTop ? undefined : parent.bottom
transform: Scale {
yScale: popupOpen ? 1 : 0
origin.y: isTop ? 0 : card.height
Behavior on yScale {
NumberAnimation {
duration: Cfg.Config.popupAnimDuration
easing.type: Easing.OutBack
transform: [
Scale {
yScale: Cfg.Config.popupAnimType === "bubbleslide"
? (popupOpen ? 1 : 0)
: 1
origin.y: isTop ? 0 : card.height
Behavior on yScale {
NumberAnimation {
duration: Cfg.Config.popupAnimDuration
easing.type: Easing.OutBack
}
enabled: animEnabled
}
},
Translate {
y: Cfg.Config.popupAnimType === "slide"
? (popupOpen ? 0 : (isTop ? -card.height : card.height))
: 0
Behavior on y {
NumberAnimation {
duration: Cfg.Config.popupAnimDuration
easing.type: Easing.OutCubic
}
enabled: animEnabled
}
enabled: animEnabled
}
}
]
opacity: popupOpen ? 1.0 : 0.0
Behavior on opacity { NumberAnimation { duration: 200 } }