projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blit actually wants a pos, no need to calculate the rect
[naja.git]
/
naja
/
widgets
/
text.py
diff --git
a/naja/widgets/text.py
b/naja/widgets/text.py
index 5af028daf48cfd411959780f4cd17c2ea64ac7ab..78e7f4cda34da9965ff3d22d02480383104c55b5 100644
(file)
--- a/
naja/widgets/text.py
+++ b/
naja/widgets/text.py
@@
-25,7
+25,7
@@
class TextWidget(Widget):
self.size = self.surface.get_rect().size
def draw(self, surface):
- surface.blit(self.surface, self.
rect
)
+ surface.blit(self.surface, self.
pos
)
class TextBoxWidget(TextWidget):