on xenial help sign in
Properly toggle mascot depending on background visibility.
9baa86eMichał Karnicki
qml/Dash/Card.qml+1−1
@@ -165,7 +165,7 @@ Item {
165 opacity: showHeader ? 1 : 0
165 opacity: showHeader ? 1 : 0
166 inOverlay: root.inOverlay
166 inOverlay: root.inOverlay
167 fontColor: inOverlay ? "white" : summary.getFontColor(background.color)
167 fontColor: inOverlay ? "white" : summary.getFontColor(background.color)
168− useMascotShape: background.visible
168+ useMascotShape: !background.visible
169
169
170 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
170 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
171 }
171 }