Skip to content

Stop species dropdown entries from colouring the selection radio buttons#6344

Draft
LMartin188 wants to merge 3 commits intoRevolutionary-Games:masterfrom
LMartin188:species-dropdown-color
Draft

Stop species dropdown entries from colouring the selection radio buttons#6344
LMartin188 wants to merge 3 commits intoRevolutionary-Games:masterfrom
LMartin188:species-dropdown-color

Conversation

@LMartin188
Copy link
Contributor

closes #6307

Removed the Popup.SetItemIconModulate(index, item.Color); line from checkable items
Fixes the unintentional colouring of the selection button while keeping the species colour sphere intact.
@revolutionary-bot
Copy link

Thank you for contributing to Thrive.

Before your contribution can be accepted, you need to sign our CLA.
You can sign it, and find more info about it, here: https://dev.revolutionarygamesstudio.com/cla

Once your contribution has been accepted you can ask to be included in the credits (https://wiki.revolutionarygamesstudio.com/wiki/Team_Members) and you can apply to join the team and use this work as a sample: https://revolutionarygamesstudio.com/application/

Popup.AddIconCheckItem(tintedIcon, item.Text, id);
var index = Popup.GetItemIndex(id);
Popup.SetItemIconMaxWidth(index, iconMaxWidth);
Popup.SetItemIconModulate(index, item.Color);
Copy link
Member

Choose a reason for hiding this comment

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

Upon reading that this SetItemIconModulate is from Godot, I think this might actually be an engine bug that should be reported that Godot 4 now applies icon modulation to the radiobutton as well rather than the icon only.

@github-actions
Copy link

This PR has been inactive for a while and as such is being marked
stale. This PR will be automatically closed if this stays stale
for a while.

If this is still being worked on / will probably resume work at
some point please feel free to continue working on this and reopen
this in case this was already automatically closed.

@github-actions github-actions bot added the stale label Dec 22, 2025
@revolutionary-bot
Copy link

The lead programmer for Thrive is currently on vacation until 2026-01-07. Until then other programmers will try to make pull request reviews, but please be patient if your PR is not getting reviewed.

PRs may be merged after multiple programmers have approved the changes (especially making sure to ensure style guide conformance and gameplay testing are good). If there are no active experienced programmers who can perform merges, PRs may need to wait until the lead programmer is back to be merged.

@github-actions github-actions bot removed the stale label Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

Stop species dropdown entries from colouring the selection radio buttons

4 participants