[GraphEditor] Chunks in progress bar are visible thanks to alternate of dark and light color

This commit is contained in:
Aurore LAFAURIE 2024-08-20 14:35:06 +02:00
parent 9036a973dd
commit 87e6969d9f

View file

@ -20,7 +20,8 @@ ListView {
id: chunkDelegate
height: root.chunkHeight
width: root.chunkWidth
color: Colors.getChunkColor(object, { "NONE": root.defaultColor })
property var chunkColor: Colors.getChunkColor(object, { "NONE": root.defaultColor })
color: index % 2 == 0 ? chunkColor : Qt.darker(chunkColor, 1.2)
}
}