diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-21 14:24:35 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-21 14:24:35 +1000 |
| commit | 9523fdf0ebc7f98e0639ac5df2c5d2a25a8abaef (patch) | |
| tree | a510eab2f41abf791957ba23dd1bdbcde08fbaa9 /modules/sidebar/NotifGroupList.qml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-shell-9523fdf0ebc7f98e0639ac5df2c5d2a25a8abaef.tar.gz caelestia-shell-9523fdf0ebc7f98e0639ac5df2c5d2a25a8abaef.tar.bz2 caelestia-shell-9523fdf0ebc7f98e0639ac5df2c5d2a25a8abaef.zip | |
sidebar/notifs: add link support
Diffstat (limited to 'modules/sidebar/NotifGroupList.qml')
| -rw-r--r-- | modules/sidebar/NotifGroupList.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/sidebar/NotifGroupList.qml b/modules/sidebar/NotifGroupList.qml index c9aac27..e586b5f 100644 --- a/modules/sidebar/NotifGroupList.qml +++ b/modules/sidebar/NotifGroupList.qml @@ -14,6 +14,7 @@ Item { required property list<var> notifs required property bool expanded required property Flickable container + required property var visibilities readonly property real nonAnimHeight: { let h = -root.spacing; @@ -104,7 +105,7 @@ Item { implicitHeight: notifInner.implicitHeight hoverEnabled: true - cursorShape: pressed ? Qt.ClosedHandCursor : undefined + cursorShape: notifInner.body?.hoveredLink ? Qt.PointingHandCursor : pressed ? Qt.ClosedHandCursor : undefined acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton preventStealing: !root.expanded enabled: !modelData.closed @@ -176,6 +177,7 @@ Item { modelData: notif.modelData props: root.props expanded: root.expanded + visibilities: root.visibilities } Behavior on opacity { |