Merge pull request #1575 from Nheko-Reborn/plindicator

Fix powerlevel indicator size in the timeline
pull/1542/head
DeepBlueV7.X 1 year ago committed by GitHub
commit f00b246af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      resources/qml/MessageView.qml
  2. 2
      resources/qml/components/PowerlevelIndicator.qml

@ -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: {

Loading…
Cancel
Save