Skip to content

Fix Civ3MenuButton visual multi-select issue#921

Open
ajhalme wants to merge 1 commit intoC7-Game:Developmentfrom
ajhalme:button-fix
Open

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

Conversation

@ajhalme
Copy link
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
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!

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