diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-26 22:32:25 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-26 22:32:25 +0800 |
| commit | f305c3f3f64befbd92c92f5ced43dfa9ced3d309 (patch) | |
| tree | 25196e307bed97607e12508b29b27caa197204b4 /modules/notifications/Notification.qml | |
| parent | dashboard: fix tab indicator animation (diff) | |
| download | caelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.tar.gz caelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.tar.bz2 caelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.zip | |
notifs: better height
Get blocked by other panels from the right side (osd and session)
Limit max height to screen height
Diffstat (limited to 'modules/notifications/Notification.qml')
| -rw-r--r-- | modules/notifications/Notification.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index d8c8ba7..039b519 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -33,6 +33,7 @@ StyledRect { hoverEnabled: true cursorShape: pressed ? Qt.ClosedHandCursor : undefined acceptedButtons: Qt.LeftButton | Qt.MiddleButton + preventStealing: true onEntered: root.modelData?.timer.stop() onExited: root.modelData?.timer.start() @@ -461,7 +462,7 @@ StyledRect { TextMetrics { id: actionTextMetrics - text: modelData?.text + text: modelData?.text ?? "" font.family: actionText.font.family font.pointSize: actionText.font.pointSize elide: Text.ElideRight |