|
|
@ -2173,6 +2173,8 @@ void AiL::RenderCooldowns(){ |
|
|
|
a.iconMouseoverTime+=GetElapsedTime(); |
|
|
|
a.iconMouseoverTime+=GetElapsedTime(); |
|
|
|
if(a.iconMouseoverTime>=1.5f){ |
|
|
|
if(a.iconMouseoverTime>=1.5f){ |
|
|
|
const std::string abilityTooltipText{std::format("{}\n{}",GetPlayer())}; |
|
|
|
const std::string abilityTooltipText{std::format("{}\n{}",GetPlayer())}; |
|
|
|
|
|
|
|
const vi2d abilityTooltipSize{GetTextSizeProp(abilityTooltipText)+vi2d{6,6}}; //Add 3 pixel padding to the edges of the tooltip.
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|