Skip to content

Fix Civ3MenuButton visual multi-select issue#921

Merged
ajhalme merged 1 commit intoC7-Game:Developmentfrom
ajhalme:button-fix
Mar 28, 2026
Merged

Fix Civ3MenuButton visual multi-select issue#921
ajhalme merged 1 commit intoC7-Game:Developmentfrom
ajhalme:button-fix

Conversation

@ajhalme
Copy link
Copy Markdown
Contributor

@ajhalme ajhalme commented Mar 25, 2026

Fix for #898.

Removing the alternative route to "effective press" results in the visual update doing the right thing. We want to only change to the "active" button texture when we have a true click, which in "active on release" ActionMode is what we want.

I can't think of a case where the current behaviour is desired, but if we want Civ3MenuButton to change state already on the press down, we probably want to change things up so that the ActionMode ("active on press" vs "active on release") is made use of.

Copy link
Copy Markdown
Contributor

@stavrosfa stavrosfa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that seems to work well!

@ajhalme ajhalme merged commit 4f827c1 into C7-Game:Development Mar 28, 2026
3 checks passed
@ajhalme ajhalme deleted the button-fix branch March 28, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants