projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shift bit display up
[naja.git]
/
naja
/
widgets
/
info_area.py
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index ef3f017fbc4b661efaa1d42ed89909909b11961c..5baa5171018075c0da533e99bbcf7fa442608806 100644
(file)
--- a/
naja/widgets/info_area.py
+++ b/
naja/widgets/info_area.py
@@
-53,7
+53,7
@@
class InfoAreaWidget(Widget):
(INFO_LEFT_PADDING, 0), TITLES[self.state.gameboard.player_mode],
colour=PALETTE.WHITE)
title.render(self.surface)
(INFO_LEFT_PADDING, 0), TITLES[self.state.gameboard.player_mode],
colour=PALETTE.WHITE)
title.render(self.surface)
- y_offset = title.surface.get_rect().height
+ 8
+ y_offset = title.surface.get_rect().height
- 4
# TODO: Make this better.
bits_text = ''.join('1' if bit in self.card.bitwise_operand else '0'
# TODO: Make this better.
bits_text = ''.join('1' if bit in self.card.bitwise_operand else '0'
@@
-66,7
+66,7
@@
class InfoAreaWidget(Widget):
colour=PALETTE.LIGHT_TURQUOISE,
bg_colour=PALETTE.BLACK)
card_bits.render(self.surface)
colour=PALETTE.LIGHT_TURQUOISE,
bg_colour=PALETTE.BLACK)
card_bits.render(self.surface)
- y_offset += card_bits.surface.get_rect().height +
8
+ y_offset += card_bits.surface.get_rect().height +
4
for choice, action in enumerate(self.card.actions):
y_offset = self.prepare_action(choice, action, y_offset)
for choice, action in enumerate(self.card.actions):
y_offset = self.prepare_action(choice, action, y_offset)