diff options
Diffstat (limited to 'resources/qml/TimelineMetadata.qml')
-rw-r--r-- | resources/qml/TimelineMetadata.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/TimelineMetadata.qml b/resources/qml/TimelineMetadata.qml index 0085b950..5d2799c7 100644 --- a/resources/qml/TimelineMetadata.qml +++ b/resources/qml/TimelineMetadata.qml @@ -40,8 +40,8 @@ RowLayout { ToolTip.text: qsTr("Edited") ToolTip.visible: editHovered.hovered source: "image://colorimage/:/icons/icons/ui/edit.svg?" + ((metadata.eventId == metadata.room.edit) ? palette.highlight : palette.buttonText) - sourceSize.height: parent.iconSize * Screen.devicePixelRatio - sourceSize.width: parent.iconSize * Screen.devicePixelRatio + sourceSize.height: parent.iconSize + sourceSize.width: parent.iconSize visible: metadata.isEdited || metadata.eventId == metadata.room.edit HoverHandler { id: editHovered @@ -66,8 +66,8 @@ RowLayout { Layout.preferredHeight: parent.iconSize Layout.preferredWidth: parent.iconSize encrypted: metadata.isEncrypted - sourceSize.height: parent.iconSize * Screen.devicePixelRatio - sourceSize.width: parent.iconSize * Screen.devicePixelRatio + sourceSize.height: parent.iconSize + sourceSize.width: parent.iconSize trust: metadata.trustlevel visible: metadata.room.isEncrypted } |