No more graphical effects on the parent.

This commit is contained in:
Luis Ángel San Martín 2016-04-09 21:51:12 +02:00
parent 49a70c496f
commit 39acc64a68

View File

@ -8,13 +8,19 @@ Row {
Repeater { Repeater {
id: rating_compact id: rating_compact
model: 5 model: 5
Item {
width: 20
height: 20
Image { Image {
id: star
source: "info-rating.png" source: "info-rating.png"
}
ColorOverlay { ColorOverlay {
anchors.fill: rating_compact.itemAt(index) anchors.fill: star
source: rating_compact.itemAt(index) source: star
color: index <= 3 ? "#ffffff" : "#1c1c1c" color: index <= 2 ? "#ffffff" : "#1c1c1c"
} }
} }
} }