fix rule default, gui input tabbing, scroll wheel, cache gamenode moves

This commit is contained in:
Sander Land committed 2020-12-13 22:10:14 +01:00
1 parent 485bd26b36
commit de898569b6
9 files changed
+30 -14

No files matched your search

+2 -1
View File
@@ -75,11 +75,12 @@ class Game:
self.root.place_handicap_stones(handicap)
else:
board_size = katrain.config("game/size")
rules = katrain.config("game/rules")
self.komi = katrain.config("game/komi")
self.root = GameNode(
properties={
**Game.DEFAULT_PROPERTIES,
**{"SZ": board_size, "KM": self.komi, "DT": self.game_id},
**{"SZ": board_size, "KM": self.komi, "DT": self.game_id, "RU": rules},
**(game_properties or {}),
}
)