Open DoctorGester opened 7 years ago
var avatar = $.CreatePanel("DOTAAvatarImage", playerPanel, ""); avatar.steamid = player.steamId64.toString(); avatar.AddClass("RankedSeasonCongratulationsPlayerAvatar");
.RankedSeasonCongratulationsPlayerAvatar { align: center center; width: 56px; height: 56px; border-radius: 3px; border: 1px solid gold; margin-bottom: 16px; tooltip-position: bottom; tooltip-body-position: 50% 100%; }
The class is seemingly applied in the debugger but does not work. It won't work even through indirect selector (.ParentPanel > DOTAAvatarImage) or id selector. Same applies for all children added to this panel. Not cool.
The class is seemingly applied in the debugger but does not work. It won't work even through indirect selector (.ParentPanel > DOTAAvatarImage) or id selector. Same applies for all children added to this panel. Not cool.