mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
nimagerounded: fixed the buggy PreserveAspectFit in the shader + new default is PreserveAspectCrop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user