1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

missing dock from display config

This commit is contained in:
bbedward
2025-08-26 14:23:34 -04:00
parent 6e75e2b06c
commit b887940dce
2 changed files with 16 additions and 2 deletions

View File

@@ -65,12 +65,16 @@ PanelWindow {
MouseArea {
id: dockMouseArea
height: dock.reveal ? 65 : 12
property real currentScreen: modelData ? modelData : dock.screen
property real screenWidth: currentScreen ? currentScreen.geometry.width : 1920
property real maxDockWidth: Math.min(screenWidth * 0.8, 1200)
height: dock.reveal ? 65 : 20
width: dock.reveal ? Math.min(dockBackground.width + 32, maxDockWidth) : Math.min(Math.max(dockBackground.width + 64, 200), screenWidth * 0.5)
anchors {
bottom: parent.bottom
horizontalCenter: parent.horizontalCenter
}
implicitWidth: dock.reveal ? dockBackground.width + 32 : (dockBackground.width + 32)
hoverEnabled: true
Behavior on height {