Skip to content
Snippets Groups Projects
Unverified Commit f00b246a authored by Nicolas Werner's avatar Nicolas Werner Committed by GitHub
Browse files

Merge pull request #1575 from Nheko-Reborn/plindicator

Fix powerlevel indicator size in the timeline
parents 29b9e0f7 79a47ff9
No related branches found
No related tags found
No related merge requests found
Pipeline #5123 passed
......@@ -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
......
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment