1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-02 02:22:06 -04:00

add notification card inset

This commit is contained in:
bbedward
2026-04-22 10:58:11 -04:00
parent a644c93b1b
commit 4e14cf5cce

View File

@@ -313,6 +313,8 @@ PanelWindow {
} }
} }
readonly property real cardInset: Theme.snap(4, win.dpr)
property real swipeOffset: 0 property real swipeOffset: 0
readonly property real dismissThreshold: isCenterPosition ? height * 0.4 : width * 0.35 readonly property real dismissThreshold: isCenterPosition ? height * 0.4 : width * 0.35
readonly property real swipeFadeStartRatio: 0.75 readonly property real swipeFadeStartRatio: 0.75