mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +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
|
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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue