You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can the display be modified to add a filler flag on the left of the TBD? So that if half the prize pool is filled out, the stuff is still aligned. Also, it just looks better to have it even when it's all empty imo.
possible solution (lines 50-52 in /components/match2/commons/player_display.lua)
ifprops.showFlag~=falsethenflagNode=String.isNotEmpty(player.flag) andPlayerDisplay.Flag(player.flag) orPlayerDisplay.Flag('filler')
end
it is important that the fillerflag also has the span with the flag class so that mobile display of flags inside bracket cells (for non team opponents) is consistent
the above code snipped should take care of that
things to keep in mind:
it will increase include size slightly
it will increase runtime slightly
I wouldn't say the include size would increase, it should be the same as when all players have flags entered, right?
in the case of players without flag it will increase slightly compared to now (on some old pages that might be the difference between reaching the limit or not, hence i mentioned it)
of course if all flags are set it will not change compared to now
Can the display be modified to add a filler flag on the left of the TBD? So that if half the prize pool is filled out, the stuff is still aligned. Also, it just looks better to have it even when it's all empty imo.
Originally posted by @iMarbot in #1798 (comment)
The text was updated successfully, but these errors were encountered: