Use autoTransform on images

closes network/neochat#674


(cherry picked from commit 38cfc915f1)

533130b5 Use autoTransform on images

Co-authored-by: James Graham <james.h.graham@protonmail.com>
This commit is contained in:
Carl Schwan
2024-09-15 10:22:08 +00:00
parent 5be112e0e2
commit 3dafc62f04

View File

@@ -81,6 +81,7 @@ Item {
sourceSize.height: mediaSizeHelper.currentSize.height * Screen.devicePixelRatio
fillMode: Image.PreserveAspectFit
autoTransform: true
}
}
@@ -94,6 +95,7 @@ Item {
source: root.mediaInfo.source
fillMode: Image.PreserveAspectFit
autoTransform: true
paused: !applicationWindow().active
}