summary refs log tree commit diff
diff options
context:
space:
mode:
authortastytea <tastytea@tastytea.de>2022-02-18 01:55:01 +0100
committertastytea <tastytea@tastytea.de>2022-02-18 02:20:56 +0100
commit624da5e028ef2f9ad0ff3859cf7e9eab1a3c7b66 (patch)
tree25b395aec778250c3b410cb5a8102020be60bb9e
parentAlways enable hover for ItemDelegate (diff)
downloadnheko-624da5e028ef2f9ad0ff3859cf7e9eab1a3c7b66.tar.xz
Make hover highlight fill the full width of the timeline
Rows in the message bubble design are only as wide as the bubbles. This
lead to invisible hover highlight. Now it's consistent.
-rw-r--r--resources/qml/TimelineRow.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 7d17842f..cc081679 100644
--- a/resources/qml/TimelineRow.qml
+++ b/resources/qml/TimelineRow.qml
@@ -52,7 +52,8 @@ Item {
 
     Rectangle {
         color: (Settings.messageHoverHighlight && hovered) ? Nheko.colors.alternateBase : "transparent"
-        anchors.fill: row
+        anchors.fill: parent
+        anchors.leftMargin: Settings.smallAvatars? 0 : Nheko.avatarSize+8
     }
 
     TapHandler {