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
View File
@@ -858,12 +858,6 @@ void StadiumScreen::render_panorama(Image& out) const {
}
if (periphery_hover_ < 0) return;
const size_t object = size_t(periphery_hover_);
{
// the hit rectangle of the object under the pointer, framed in yellow as on the advertising page
const size_t at = ::bmh::layout::Stadium_PeripheryObjectContains_ExecutableField + object * 8;
const int left = exe_.u16(at), top = exe_.u16(at + 2), right = exe_.u16(at + 4), bottom = exe_.u16(at + 6);
outline(out, left, top, right - left + 1, bottom - top + 1, 0x27);
}
copy_crop(out, periphery_overlay_, 8, 7, 26, 32, 180, 27);
const bool busy = state_.days[object] != 0;
const std::string title = texts_[text_id(::bmh::layout::Stadium_RenderPanorama_TextPointer + unsigned(object) * 4)] +