mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Merge pull request #1239 from q234rty/master
Fix more blurry icons under HiDPI
This commit is contained in:
commit
575294971d
2 changed files with 2 additions and 4 deletions
|
@ -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 a new issue