Skip to content

Added option to hide tooltips on hover share resources/units icons#18

Open
timocov wants to merge 1 commit intoFA-mods:masterfrom
timocov:add-hide-tooltips-option
Open

Added option to hide tooltips on hover share resources/units icons#18
timocov wants to merge 1 commit intoFA-mods:masterfrom
timocov:add-hide-tooltips-option

Conversation

@timocov
Copy link

@timocov timocov commented Nov 15, 2020

The problem - when you hover share units/resources icons, they have tooltip which overlap quite informative part of the table (with how much resources your teammates have), so you need to move over buttons to see all other values (see screenshot below).

I guess that everybody who uses SSB for a while knows "how to share resources/units", you can find it noisy (I think you've memorized that information after the first time you seen/used it).

image

The PR adds an option (which should be enabled by default, but it seems that by default it has nul value in GameOptions - is this bug?) in the settings which allows you to disable these tooltips on share mass/energy/units buttons.

Questions:

  • as I mentioned above - it seems that the default value is nil rather than true, I'm not sure how it could be fixed...
  • It seems that we can't hide tooltip after Tooltip.AddControlTooltip (I didn't find any info about that), so it will be applied after game restart. If you know how it could be fixed - please tell me.
  • If that "problem" is only for me and you think that it will be worse to have such option - please feel free to close the PR :)

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.

1 participant