Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-08-13 12:00:06 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-08-13 12:00:06 (GMT)
commita6a088358725b5efdaa5e4f62c989f82a3a6cc41 (patch)
tree1391528473a00e6b659d44659edea8810c5077b7 /src/api
parent45889b9abe92f26ecca0e7ab2b39292867df43cc (diff)
add Label for a1g1 test
Diffstat (limited to 'src/api')
-rwxr-xr-xsrc/api/Label.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/Label.py b/src/api/Label.py
index a034716..51998a5 100755
--- a/src/api/Label.py
+++ b/src/api/Label.py
@@ -48,6 +48,7 @@ class CLabel(pygame.sprite.Sprite):
#center the text
xPos = (self.image.get_width() - fontSurface.get_width())/2
self.image.blit(fontSurface, (xPos, 0))
+ self.update()
def update(self):
self.rect = self.image.get_rect()