summary refs log tree commit diff
path: root/resources/qml/components/NotificationBubble.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-09 20:14:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-09 20:14:41 +0200
commit2d7c007eb2cab03f0a5860eba40bd640b05cd94a (patch)
tree7e9266ebe58019b8d14cd8427849c2f7f2b5e922 /resources/qml/components/NotificationBubble.qml
parentFix toggle placement in user settings (diff)
downloadnheko-2d7c007eb2cab03f0a5860eba40bd640b05cd94a.tar.xz
Fix binding loop in roomlist
Diffstat (limited to '')
-rw-r--r--resources/qml/components/NotificationBubble.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/components/NotificationBubble.qml b/resources/qml/components/NotificationBubble.qml
index f0a526d0..d4838e92 100644
--- a/resources/qml/components/NotificationBubble.qml
+++ b/resources/qml/components/NotificationBubble.qml
@@ -15,6 +15,7 @@ Rectangle {
     required property color bubbleTextColor
     property bool mayBeVisible: true
     property alias font: notificationBubbleText.font
+    baselineOffset: notificationBubbleText.baseline - bubbleRoot.top
 
     visible: mayBeVisible && notificationCount > 0
     implicitHeight: notificationBubbleText.height + Nheko.paddingMedium