Minus and plus of the start menu show the original pressed picture

The buttons of the game setup (and of the joining manager's setup) use the darker
picture from the bottom of the setup atlas while the mouse button is held, as in a
recording of the real game; the release redraws even when the value is at its limit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-08 20:09:07 +01:00
1 parent 09fcd8383f
commit e65bd27375
5 files changed
+59 -2

No files matched your search

+3
View File
@@ -1096,6 +1096,9 @@ bool StartupFlow::press_hold(int x,int y) {
if (bank_) return bank_->press(x, y);
if (outgoing_transfer_) return outgoing_transfer_->press(x, y);
if (manager_ && !desktop_) return manager_->press(x, y);
// the setup screen at the start of a game, and its joining variant
if (joining_) return !manager_ && !join_options_pending_ && !join_choice_pending_ && join_setup_ && join_setup_->press(x, y);
if (screen_name() == "setup") return setup_.press(x, y);
return false;
}