summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-12-05 19:53:34 +0100
committerGitHub <noreply@github.com>2022-12-05 19:53:34 +0100
commit575294971d52b57186e08dcad732a80d82e89ffb (patch)
treed8e547c141a7114b74e883a3dbaebae1537f892b /resources/qml
parentImplement MSC3664, pushrules for related events (diff)
parentFix downscale (diff)
downloadnheko-575294971d52b57186e08dcad732a80d82e89ffb.tar.xz
Merge pull request #1239 from q234rty/master
Fix more blurry icons under HiDPI
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/EncryptionIndicator.qml4
-rw-r--r--resources/qml/TopBar.qml2
2 files changed, 2 insertions, 4 deletions
diff --git a/resources/qml/EncryptionIndicator.qml b/resources/qml/EncryptionIndicator.qml

index 0bbdffc6..04d4bace 100644 --- a/resources/qml/EncryptionIndicator.qml +++ b/resources/qml/EncryptionIndicator.qml
@@ -34,8 +34,8 @@ Image { width: 16 height: 16 - sourceSize.height: height * Screen.devicePixelRatio - sourceSize.width: width * Screen.devicePixelRatio + sourceSize.height: height + sourceSize.width: width source: { if (encrypted) { switch (trust) { diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml
index 4608da4d..bdf19bf9 100644 --- a/resources/qml/TopBar.qml +++ b/resources/qml/TopBar.qml
@@ -228,8 +228,6 @@ Pane { Layout.maximumWidth: Nheko.avatarSize - Nheko.paddingMedium contentItem: EncryptionIndicator { - sourceSize.height: parent.Layout.preferredHeight * Screen.devicePixelRatio - sourceSize.width: parent.Layout.preferredWidth * Screen.devicePixelRatio encrypted: isEncrypted trust: trustlevel enabled: false