Merge pull request #1239 from q234rty/master
Fix more blurry icons under HiDPI
This commit is contained in:
commit
575294971d
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user