on xenial help sign in
Add FIXME for sourceSize.
commit767338a592185ae885a42391248dafb0569a1802 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 6 Dec 2013, 15:32 (13 years ago) parent967bf53
1 file changed+2−1
Dash/Card.qml+2−1
Dash/Card.qml+2−1
@@ -33,8 +33,9 @@ Item {
3333 objectName: "artImage"
3434 // FIXME should be no need for "icon"
3535 source: cardData && cardData["art"] || cardData["icon"] || ""
36+ // FIXME uncomment when having investigated / fixed the crash
3637 //sourceSize.width: width > height ? width : 0
37− //sourceSize.height: height > width ? height : -1
38+ //sourceSize.height: height > width ? height : 0
3839 fillMode: components["art"]["fill-mode"] == "fit" ? Image.PreserveAspectFit: Image.PreserveAspectCrop
3940
4041 property real aspect: implicitWidth / implicitHeight