mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
Merge pull request #1575 from Nheko-Reborn/plindicator
Fix powerlevel indicator size in the timeline
This commit is contained in:
commit
f00b246af1
2 changed files with 4 additions and 4 deletions
|
@ -570,9 +570,11 @@ Item {
|
||||||
|
|
||||||
PowerlevelIndicator {
|
PowerlevelIndicator {
|
||||||
id: 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
|
powerlevel: userPowerlevel
|
||||||
permissions: room ? room.permissions : null
|
permissions: room ? room.permissions : null
|
||||||
visible: isAdmin || isModerator
|
visible: isAdmin || isModerator
|
||||||
|
|
|
@ -23,8 +23,6 @@ Image {
|
||||||
return "image://colorimage/:/icons/icons/ui/person.svg?";
|
return "image://colorimage/:/icons/icons/ui/person.svg?";
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSize.width: 16
|
|
||||||
sourceSize.height: 16
|
|
||||||
source: sourceUrl + (ma.hovered ? palette.highlight : palette.buttonText)
|
source: sourceUrl + (ma.hovered ? palette.highlight : palette.buttonText)
|
||||||
ToolTip.visible: ma.hovered
|
ToolTip.visible: ma.hovered
|
||||||
ToolTip.text: {
|
ToolTip.text: {
|
||||||
|
|
Loading…
Reference in a new issue