1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

Solitaire: Start timer when first card is moved

Starts the game timer when the first card is clicked or moved instead of
when a new game is started.

Fixes #7489
This commit is contained in:
Marcus Nilsson 2021-05-27 14:27:20 +02:00 committed by Andreas Kling
parent bacb2dea70
commit f7667901ed
3 changed files with 8 additions and 4 deletions

View file

@ -146,6 +146,7 @@ int main(int argc, char** argv)
statusbar.set_text(1, String::formatted("High Score: {}", score));
}
}
statusbar.set_text(2, "Timer starts after your first move");
};
GUI::ActionGroup draw_setting_actions;