Merge pull request #1239 from q234rty/master

Fix more blurry icons under HiDPI
This commit is contained in:
DeepBlueV7.X 2022-12-05 19:53:34 +01:00 committed by GitHub
commit 575294971d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -34,8 +34,8 @@ Image {
width: 16 width: 16
height: 16 height: 16
sourceSize.height: height * Screen.devicePixelRatio sourceSize.height: height
sourceSize.width: width * Screen.devicePixelRatio sourceSize.width: width
source: { source: {
if (encrypted) { if (encrypted) {
switch (trust) { switch (trust) {

View file

@ -228,8 +228,6 @@ Pane {
Layout.maximumWidth: Nheko.avatarSize - Nheko.paddingMedium Layout.maximumWidth: Nheko.avatarSize - Nheko.paddingMedium
contentItem: EncryptionIndicator { contentItem: EncryptionIndicator {
sourceSize.height: parent.Layout.preferredHeight * Screen.devicePixelRatio
sourceSize.width: parent.Layout.preferredWidth * Screen.devicePixelRatio
encrypted: isEncrypted encrypted: isEncrypted
trust: trustlevel trust: trustlevel
enabled: false enabled: false