nosignal-shell/components/images/CachingImage.qml
2 * r + 2 * t 1f7aeec8c4 fix: specify sourceSize as a single prop
So we don't get 2 updates when width/height change
2026-04-27 22:07:57 +10:00

13 lines
237 B
QML

import QtQuick
import Caelestia.Images
Image {
id: root
property string path
asynchronous: true
fillMode: Image.PreserveAspectCrop
source: IUtils.urlForPath(path, fillMode)
sourceSize: Qt.size(width, height)
}