Show winnable in X status

This commit is contained in:
ItsDrike 2024-12-09 23:24:37 +01:00
parent a4a91e09f9
commit d68b2ecbcb
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -111,10 +111,17 @@ Rectangle {
}
ScoreItem {
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable !== false
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable === undefined
title: "PLAYING"
anchors.fill: parent
}
ScoreItem {
visible: GameState.gameWon === false && GameState.preliminaryWin === false && GameState.isWinnable.winnable === true
title: "WINNABLE IN " + GameState.isWinnable.depth
titleColor: "blue"
anchors.fill: parent
}
}
component ScoreItem: Column {