Fix powerlevel indicator size in the timeline

This commit is contained in:
Loren Burkholder 2023-10-02 08:44:47 -04:00
parent 2401c211ab
commit 79a47ff9c2
2 changed files with 4 additions and 4 deletions

View file

@ -570,9 +570,11 @@ Item {
PowerlevelIndicator {
id: powerlevelIndicator
anchors.left: parent.left
//anchors.horizontalCenter: parent.horizontalCenter
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
height: fontMetrics.ascent
width: height
powerlevel: userPowerlevel
permissions: room ? room.permissions : null
visible: isAdmin || isModerator

View file

@ -23,8 +23,6 @@ Image {
return "image://colorimage/:/icons/icons/ui/person.svg?";
}
sourceSize.width: 16
sourceSize.height: 16
source: sourceUrl + (ma.hovered ? palette.highlight : palette.buttonText)
ToolTip.visible: ma.hovered
ToolTip.text: {