mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 00:47:22 +00:00
Raise convergence app drawer
This commit is contained in:
parent
6d766892b5
commit
3076734300
1 changed files with 8 additions and 2 deletions
|
|
@ -431,8 +431,14 @@ ContainmentItem {
|
|||
homeScreen: folioHomeScreen
|
||||
|
||||
readonly property real popupWidth: Math.min(Kirigami.Units.gridUnit * 28, parent.width * 0.5)
|
||||
readonly property real popupHeight: Math.min(Kirigami.Units.gridUnit * 32, parent.height * 0.7)
|
||||
readonly property real dockHeight: MobileShell.Constants.convergenceDockHeight
|
||||
readonly property real popupTopY: MobileShell.Constants.topPanelHeight
|
||||
+ MobileShell.Constants.convergenceWorkspaceFrameThickness
|
||||
+ Kirigami.Units.smallSpacing
|
||||
readonly property real popupBottomY: parent.height
|
||||
- dockHeight
|
||||
- MobileShell.Constants.convergenceWorkspaceFrameThickness
|
||||
readonly property real popupHeight: Math.max(0, popupBottomY - popupTopY)
|
||||
|
||||
width: popupWidth
|
||||
height: popupHeight
|
||||
|
|
@ -444,7 +450,7 @@ ContainmentItem {
|
|||
|
||||
x: Kirigami.Units.smallSpacing
|
||||
y: (opacity > 0)
|
||||
? parent.height - dockHeight - popupHeight - Kirigami.Units.smallSpacing + animationY
|
||||
? popupTopY + animationY
|
||||
: parent.height
|
||||
|
||||
headerHeight: Math.round(Kirigami.Units.gridUnit * 3)
|
||||
|
|
|
|||
Loading…
Reference in a new issue