on xenial help sign in
0 !== undefined.
commit55aeee2af02f417640ab9daa37ff2c84e7f259c9 authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 15 Oct 2013, 00:03 (13 years ago) parent6c7b4d5
1 file changed+2−2
Components/LazyImage.qml+2−2
Components/LazyImage.qml+2−2
@@ -100,10 +100,10 @@ Item {
100100 verticalAlignment: Image.AlignVCenter
101101 sourceSize.width: root.scaleTo == "width" ? root.width
102102 : root.scaleTo == "fit" && root.width < root.height ? root.width
103− : undefined
103+ : 0
104104 sourceSize.height: root.scaleTo == "height" ? root.height
105105 : root.scale == "fit" && root.height < root.width ? root.height
106− : undefined
106+ : 0
107107 }
108108 }
109109