diff --git a/qml/ScoreBar.qml b/qml/ScoreBar.qml index 574a537..597bf2d 100644 --- a/qml/ScoreBar.qml +++ b/qml/ScoreBar.qml @@ -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 {