Page MenuHomePhorge

D384.1796226880.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D384.1796226880.diff

diff --git a/src/contents/ui/EventReadIndicator.qml b/src/contents/ui/EventReadIndicator.qml
--- a/src/contents/ui/EventReadIndicator.qml
+++ b/src/contents/ui/EventReadIndicator.qml
@@ -13,7 +13,7 @@
import '.' as Kazv
import 'matrix-helpers.js' as Helpers
-ItemDelegate {
+AbstractButton {
id: readIndicator
property var shouldShow: true
property var model
@@ -21,7 +21,16 @@
property var avatarSize: Kirigami.Units.iconSizes.sizeForLabels || Kirigami.Units.iconSizes.small / 2
property var actualItems: Math.min(model.count, maxItems)
+ focusPolicy: Qt.StrongFocus
+ leftInset: 0
+ topInset: 0
+ bottomInset: 0
+ rightInset: 0
+ padding: Kirigami.Units.smallSpacing
visible: shouldShow && readIndicator.model.count > 0
+ background: Kazv.FocusRingBackground {
+ target: readIndicator
+ }
contentItem: RowLayout {
id: layout
@@ -82,7 +91,7 @@
property var nameProvider: Kazv.UserNameProvider {
user: member
}
- onPressed: {
+ onClicked: {
activateUserPage(member, room);
readIndicatorDrawer.close();
}
@@ -112,5 +121,5 @@
}
}
- onPressed: readIndicatorDrawer.open()
+ onClicked: readIndicatorDrawer.open()
}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 2, 7:54 AM (21 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1854670
Default Alt Text
D384.1796226880.diff (1 KB)

Event Timeline