Merge pull request #1239 from q234rty/master

Fix more blurry icons under HiDPI
pull/1243/head
DeepBlueV7.X 2 years ago committed by GitHub
commit 575294971d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      resources/qml/EncryptionIndicator.qml
  2. 2
      resources/qml/TopBar.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) {

@ -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…
Cancel
Save