[calamares] Tweak looks of basic-QML-sidebar

- Use the new currentStepIndex (suggested by Camilo) to see if something
  is selected / current.
This commit is contained in:
Adriaan de Groot 2020-03-30 14:22:27 +02:00
parent fff4caf0de
commit eda2e4e10a

View File

@ -26,7 +26,8 @@ Repeater {
color: "black"
Text {
color: completed ? "green" : "yellow"
anchors.centerIn: parent
color: index == ViewManager.currentStepIndex ? "green" : "yellow"
text: display
}
}