Cleaned up some of the sgf code and refactored it to make move navigation easier when we get to it
This commit is contained in:
parent
8e573f1a86
commit
3625cb3804
2 changed files with 53 additions and 14 deletions
|
@ -169,6 +169,8 @@ class GoGame(gtk.HBox):
|
|||
code = 'bH'
|
||||
elif self.goban.to_move == goban.Goban.WHITE:
|
||||
code = 'wH'
|
||||
else:
|
||||
continue
|
||||
|
||||
base_img = GoGame.img_res[code]
|
||||
img = base_img.scale_simple(inc, inc, gtk.gdk.INTERP_BILINEAR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue