Fixes abnormally slow alpha change of order button tooltips. Removes code duplication.
Testing done on the proposed changes
Mousing over orders creates a smooth transparency transition just like the tooltips for the construction menu buttons (tech level, templates, unit selector, construction selector, enhancements selector).
Additional context
The old code is from GPG files.
Checklist
[x] Changes are documented in the changelog for the next game version
Description of the proposed changes
Fixes abnormally slow alpha change of order button tooltips. Removes code duplication.
Testing done on the proposed changes
Mousing over orders creates a smooth transparency transition just like the tooltips for the construction menu buttons (tech level, templates, unit selector, construction selector, enhancements selector).
Additional context
The old code is from GPG files.
Checklist