-
-
Notifications
You must be signed in to change notification settings - Fork 558
Compound number visibility fix #6256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compound number visibility fix #6256
Conversation
Thank you for contributing to Thrive. Before your contribution can be accepted, you need to sign our 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/ |
Could you please make that as a separate PR because that is too unrelated to the other changes? |
69a8ac4
to
9b54be8
Compare
I see two architecture things I'd like to see done differently:
So could you please rework those? Or let me know what I missed in my analysis and why the current approach is better. |
58dcd61
to
52043fc
Compare
Thanks for the quick feedback. I suspected things were out of place but with your feedback I hope it will be proper this time. I still find setting all options at once approach cleaner and revised my PR according to it. |
4abc5a4
to
8a512ad
Compare
8a512ad
to
134333c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks a lot cleaner now. I still have a couple of comments about how to make it more flexible and to avoid extra small object allocations (which is something we try to avoid whenever possible during gameplay).
Refactored "normal" StyleBox name.
Thanks again for the insightful suggestions. I don't know very much about Godot and appreciate it very much. I am pushing the new changes and hopefully should be good enough. |
Sorry to bother you with these little code pieces. I hope I will understand the codebase better for future PRs. |
The code change looks perfect now, but I'll test gameplay functionality a bit later before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've now tested this, and unfortunately I don't think this looks very good...

That's what I see. The darkened area does not match the bar whatsoever, which does not look good in my eyes. So it needs tweaking. Or maybe my original idea about switching the font on the label to one with a shadow behind it would be a more viable approach?
If you don't mind I could try finishing this with the font shadow approach today so that this can be included as a fix in 0.8.3 release. |
We are currently in feature freeze until the next release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I adjusted the visuals and the approach a bit, and I think this is now good. I'll merge this now for this to make it into the next release.
83d90a2
into
Revolutionary-Games:master
Brief Description of What This PR Does
This PR adds a new theme to compound text when it is in compact view.

I moved the Compound related files under gui directory to its own folder to make it look more organized.I also added a simple functionality to clear selection in cell editor with right click which is really unrelated but annoyed me.Related Issues
Closes #6234
Progress Checklist
Note: before starting this checklist the PR should be marked as non-draft.
break existing features:
https://wiki.revolutionarygamesstudio.com/wiki/Testing_Checklist
(this is important as to not waste the time of Thrive team
members reviewing this PR)
styleguide.
Before merging all CI jobs should finish on this PR without errors, if
there are automatically detected style issues they should be fixed by
the PR author. Merging must follow our
styleguide.