This PR is a rework of the item tooltip system, very closely matching the in-game panorama UI.
The old tooltip code was no longer working as intended, and it was also made before the in-game
tooltip rework.
Changes
Fixed number highlighting in ability tooltip description
Moved AbilityBehaviour to its own component which is shared by ItemTooltip
Added dispel information to AbilityBehaviour
Renamed spell immunity to debuff immunity
Updated colors for damage types
utility: added support for custom styles in styleValues
For backpacked items the cooldown & mana icons get resized incorrectly, haven't figured out how to fix this Fixed in https://github.com/odota/web/pull/3164
Overview
This PR is a rework of the item tooltip system, very closely matching the in-game panorama UI. The old tooltip code was no longer working as intended, and it was also made before the in-game tooltip rework.
Changes
AbilityBehaviour
to its own component which is shared byItemTooltip
AbilityBehaviour
styleValues
Known issues
For backpacked items the cooldown & mana icons get resized incorrectly, haven't figured out how to fix thisFixed in https://github.com/odota/web/pull/3164Comparisons
Patchnotes:![image](https://github.com/odota/web/assets/14019974/f7c0c62a-eebb-41b8-bcd5-44c89dd7a1b7)