mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ClipboardPreview: fix ClipboardPreview
This commit is contained in:
@@ -13,6 +13,7 @@ Item {
|
||||
property real fallbackIconSize: Style.fontSizeXXL
|
||||
property real borderWidth: 0
|
||||
property color borderColor: Color.transparent
|
||||
property int imageFillMode: Image.PreserveAspectCrop
|
||||
|
||||
readonly property bool showFallback: (fallbackIcon !== undefined && fallbackIcon !== "") && (imagePath === undefined || imagePath === "")
|
||||
|
||||
@@ -33,7 +34,7 @@ Item {
|
||||
smooth: true
|
||||
asynchronous: true
|
||||
antialiasing: true
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
fillMode: root.imageFillMode
|
||||
onStatusChanged: root.statusChanged(status)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user