Repository navigation
Minimap: works with a popup up - #65
Closed
MortenLyhr wants to merge 1 commit into
Closed
MortenLyhr wants to merge 1 commit into
MortenLyhr wants to merge 1 commit into
Conversation
A popup (the research choice, a city's name or what it builds) blocked the main interface's minimap, so the map could not be looked over while choosing. The click and the drag now work as without a popup; the popup's own clicks are taken before it as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
Contributor
Author
|
Closing: in the original (checked in Wine, plain BtS and BUG + BULL) the minimap takes no click while the turn's questions (build, research, civic) are up, the opposite of this PR. #149 makes them modal as the original's, minimap included; see #149 (comment). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a popup up (the research choice, naming a city, choosing what it builds), a click on the main interface's minimap did nothing, so the map could not be looked over while choosing.
MapWindow::onButtonchecked!popup.active()before the minimap; the check is gone, so the click and the drag move the camera as without a popup. A click on the popup itself is still taken first.The mouse wheel already zooms the map with a popup up (unless the mouse is over the popup, where it scrolls the popup); checked the same way.
TestMap at the start, research popup open, after a click on the minimap's lower left: the camera went there, the popup stays.
Checked:
ctest13/13.--turns 100 --map Fractal --size STANDARD --seed 7checksums match master on every turn.🤖 Generated with Claude Code