summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/ProductCardForm.ui.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/ProductCardForm.ui.qml b/components/ProductCardForm.ui.qml
index d1e0fb3..d7cc671 100644
--- a/components/ProductCardForm.ui.qml
+++ b/components/ProductCardForm.ui.qml
@@ -129,8 +129,8 @@ Item {
layer.effect: OpacityMask {
maskSource: Rectangle {
anchors.centerIn: parent
- width: image.width
- height: image.height
+ width: imageCardPreview.width
+ height: imageCardPreview.height
radius: 8
}
}