on xenial help sign in
More comments
commitebb658d564933c2acaaa47eeb89bf42c01a4937b authorMichael Terry <michael.terry@canonical.com> dateTue 10 Feb 2015, 12:26 (12 years ago) parenteba5374
2 files changed+2−2
qml/Greeter/GreeterContent.qml+1−1 tests/mocks/libusermetrics/UserMetrics.cpp+1−1
qml/Greeter/GreeterContent.qml+1−1
@@ -121,7 +121,7 @@ Item {
121121 objectName: "infographics"
122122 height: narrowMode ? parent.height : 0.75 * parent.height
123123 model: greeterContentLoader.infographicModel
124− clip: true
124+ clip: true // clip large data bubbles
125125
126126 property string selectedUser
127127 property string infographicUser: AccountsService.statsWelcomeScreen ? selectedUser : ""
tests/mocks/libusermetrics/UserMetrics.cpp+1−1
@@ -312,7 +312,7 @@ void UserMetricsPrivate::generateFakeData()
312312 QVariantList firstMonth;
313313 while (firstMonth.size() < 17)
314314 firstMonth.push_back(QVariant(rand()));
315− firstMonth[8] = QVariant(1.0); // oversized 9th day, to test huge bubbles
315+ firstMonth[8] = QVariant(1.0); // oversized 9th day, to test clipping
316316 while (firstMonth.size() < 31)
317317 firstMonth.push_back(QVariant());
318318 QVariantList secondMonth;