Hi and, as always, sorry for my bad english.
I was hoping to contribute a little to this project so
I tried to figure out why I can't use custom popup windows.
Code:
popup_format = "default"
for stat in stat_window.game.stats:
if stat_window.game.stats[stat].row == row and stat_window.game.stats[stat].col == col:
popup_format = stat_window.game.stats[stat].popup
break
This code looks just fine to me (line 919 of file Hud.py),
but it doesn't work (only the "default" popup window is shown).
If after that code I add the line
Code:
popup_format = "continuationBet"
(continuationBet is another popup window I defined in HUD_config.xml)
I can see that popup window instead of the default one.
So I guess the problem is on the code that checks for "coordinates".
Does that make sense? Any idea how to solve it?