on xenial help sign in
Match the other ifs structre
commit30065ae6048f98f12be33ab334f8dc3a61ce2f34 authorAlbert Astals <albert.astals@canonical.com> dateMon 31 Mar 2014, 14:02 (13 years ago) parentd75641d
1 file changed+1−1
qml/Dash/Card.qml+1−1
qml/Dash/Card.qml+1−1
@@ -87,7 +87,7 @@ AbstractButton {
8787 height = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.height : width / image.aspect });
8888 } else {
8989 width = Qt.binding(function() { return !visible ? 0 : image.fillMode === Image.PreserveAspectCrop ? image.width : height * image.aspect });
90− height = Qt.binding(function() { return visible ? image.height : 0 });
90+ height = Qt.binding(function() { return !visible ? 0 : image.height });
9191 }
9292 }
9393