diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-09-12 00:43:07 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-09-12 00:43:07 +0200 |
commit | e96b552959afbc878247d1a5cca44ab991851ae8 (patch) | |
tree | efcbbc0727f100f4ce28c1ab065c46dbff68052c /resources | |
parent | Fix timeline menus (diff) | |
download | nheko-e96b552959afbc878247d1a5cca44ab991851ae8.tar.xz |
Fix power level indicator size
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/MessageView.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 411254d8..eccd0496 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -689,6 +689,12 @@ Item { //anchors.horizontalCenter: parent.horizontalCenter powerlevel: userPowerlevel + height: fontMetrics.lineSpacing + width: fontMetrics.lineSpacing + + sourceSize.width: fontMetrics.lineSpacing + sourceSize.height: fontMetrics.lineSpacing + permissions: room ? room.permissions : null visible: isAdmin || isModerator } |