blit actually wants a pos, no need to calculate the rect
[naja.git] / naja / widgets / text.py
index 5af028daf48cfd411959780f4cd17c2ea64ac7ab..78e7f4cda34da9965ff3d22d02480383104c55b5 100644 (file)
@@ -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):