Page MenuHomePhorge

D384.1796022018.diff
No OneTemporary

Authored By
Unknown
Size
992 B
Referenced Files
None
Subscribers
None

D384.1796022018.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
@@ -112,5 +121,5 @@
}
}
- onPressed: readIndicatorDrawer.open()
+ onClicked: readIndicatorDrawer.open()
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 29, 11:00 PM (23 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1852163
Default Alt Text
D384.1796022018.diff (992 B)

Event Timeline