Table range calculator closes with the right button; no frame in the panorama

- The Von/Bis calculator of the league table is left with the right
  mouse button (as the Toto calculator), restoring the backdrop.
- The stadium panorama draws no hover frame (the original draws none);
  the yellow frames stay on the main page (seat blocks, investments).

Refs #64, #66.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-04 23:02:41 +01:00
1 parent 81ae6ad236
commit f12857414e
3 files changed
+14 -7

No files matched your search

+6 -1
View File
@@ -287,7 +287,12 @@ bool LeagueTableRangeDialog::activate_cell(int index) {
bool LeagueTableRangeDialog::pointer_down(int px, int py, bool right) {
if (outcome_delivered_) return false;
if (right) return true; // modal consumes RMB but does not infer Source event 8
if (right) {
// The right button leaves the calculator as event 8 does (as the Toto calculator); the exit
// still waits for its final Present. The modal consumes the press either way.
(void)cancel_from_source_event();
return true;
}
if (dragging_) {
pointer_x_ = px;
pointer_y_ = py;