Fix power level indicator size

This commit is contained in:
Nicolas Werner 2023-09-12 00:43:07 +02:00
parent 0a3aeb0a1a
commit e96b552959
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -689,6 +689,12 @@ Item {
//anchors.horizontalCenter: parent.horizontalCenter //anchors.horizontalCenter: parent.horizontalCenter
powerlevel: userPowerlevel powerlevel: userPowerlevel
height: fontMetrics.lineSpacing
width: fontMetrics.lineSpacing
sourceSize.width: fontMetrics.lineSpacing
sourceSize.height: fontMetrics.lineSpacing
permissions: room ? room.permissions : null permissions: room ? room.permissions : null
visible: isAdmin || isModerator visible: isAdmin || isModerator
} }