on xenial help sign in
Fix issue in reviewy
commitca354db11fbda37849db7a0b67dbe9c0c7c88f8e authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 11 Aug 2014, 08:58 (12 years ago) parent4f7b8e0
2 files changed+2−2
plugins/Dash/CardCreator.js+1−1 tests/plugins/Dash/cardcreator/6.res+1−1
plugins/Dash/CardCreator.js+1−1
@@ -237,7 +237,7 @@ var kEmblemIconCode = 'Icon { \n\
237237 source: cardData && cardData["emblem"] || ""; \n\
238238 color: %2; \n\
239239 width: height; \n\
240− height: status === Image.Ready ? titleLabel.font.pixelSize : 0; \n\
240+ height: source != "" ? titleLabel.font.pixelSize : 0; \n\
241241 }\n';
242242
243243// %1 is used as anchors of touchdown effect
tests/plugins/Dash/cardcreator/6.res+1−1
@@ -105,7 +105,7 @@ Item {
105105 source: cardData && cardData["emblem"] || "";
106106 color: backgroundLoader.active && backgroundLoader.item && backgroundLoader.item.luminance < (root.scopeStyle ? root.scopeStyle.threshold : 0.7) ? (root.scopeStyle ? root.scopeStyle.light : "white") : (root.scopeStyle ? root.scopeStyle.dark : "grey");
107107 width: height;
108− height: status === Image.Ready ? titleLabel.font.pixelSize : 0;
108+ height: source != "" ? titleLabel.font.pixelSize : 0;
109109 }
110110
111111 ]