nimagerounded: fixed the buggy PreserveAspectFit in the shader + new default is PreserveAspectCrop

This commit is contained in:
Lemmy
2026-02-04 21:46:05 -05:00
parent a1df4a3e3c
commit 989ebbbdea
3 changed files with 9 additions and 21 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Item {
property real fallbackIconSize: Style.fontSizeXXL
property real borderWidth: 0
property color borderColor: "transparent"
property int imageFillMode: Image.PreserveAspectFit
property int imageFillMode: Image.PreserveAspectCrop
readonly property bool showFallback: (fallbackIcon !== undefined && fallbackIcon !== "") && (imagePath === undefined || imagePath === "")
readonly property int status: imageSource.status