projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use location bit glyphs in action text.
[naja.git]
/
naja
/
widgets
/
info_area.py
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index 0022b7351868c37efe0d0701c193ecc3a4c75502..2f75a635b3bb9096f329204020476174aabd123f 100644
(file)
--- a/
naja/widgets/info_area.py
+++ b/
naja/widgets/info_area.py
@@
-86,7
+86,7
@@
class InfoAreaWidget(Widget):
text_colour = PALETTE.BLACK if action_viable else PALETTE.GREY
text = TextBoxWidget(
text_colour = PALETTE.BLACK if action_viable else PALETTE.GREY
text = TextBoxWidget(
- (x_offset, y_offset), action.get_text(),
+ (x_offset, y_offset), action.get_text(
self.card
),
box_width=(INFO_SIZE[0] - 16) // EIGHT_BIT_SCALE,
fontsize=28, colour=text_colour)
text.render(self.surface)
box_width=(INFO_SIZE[0] - 16) // EIGHT_BIT_SCALE,
fontsize=28, colour=text_colour)
text.render(self.surface)