projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf8d29
)
Don't hardcode the initial cursor position
author
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 17:08:10 +0000
(19:08 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 17:08:28 +0000
(19:08 +0200)
naja/widgets/board.py
patch
|
blob
|
history
diff --git
a/naja/widgets/board.py
b/naja/widgets/board.py
index b168c6b35ec3a706ad279285a9a99bf6daa65eea..32fb5af8c52a3849e110c55a9eb90a5ee9caa24c 100644
(file)
--- a/
naja/widgets/board.py
+++ b/
naja/widgets/board.py
@@
-19,7
+19,7
@@
class BoardWidget(Widget):
super(BoardWidget, self).__init__(pos, BOARD_SIZE)
self.info = info
self.state = state
- self.card_pos =
(2, 2)
+ self.card_pos =
state.player.position
self._tiles = []
self.legal = False
for y in range(0, 5):