on xenial help sign in
Use one animation.
commit644c0adbe7261de537babe4ef4708b90329becf3 authorMichał Karnicki <michal.karnicki@canonical.com> dateWed 5 Feb 2014, 15:25 (13 years ago) parentb70da4d
1 file changed+1−3
qml/Dash/Card.qml+1−3
qml/Dash/Card.qml+1−3
@@ -71,7 +71,7 @@ AbstractButton {
7171 }
7272
7373 height: header.height
74− opacity: showHeader ? 0.6 : 0
74+ opacity: opacity: header.opacity * 0.6
7575 visible: template && template["overlay"] && artShape.visible && artShape.image.status === Image.Ready || false
7676
7777 property var source: ShaderEffectSource {
@@ -100,8 +100,6 @@ AbstractButton {
100100 lowp vec4 tex = texture2D(source, coord);
101101 gl_FragColor = vec4(0, 0, 0, tex.a) * qt_Opacity;
102102 }"
103−
104− Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
105103 }
106104
107105 CardHeader {