diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-01-26 04:41:46 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-01-26 04:41:46 (GMT) |
commit | 18a50f72447c28c82c6283d51ab52e9b153836bc (patch) | |
tree | 03619071243f6acb5d83dfb1e4ddfbffffe64034 /sprites.py | |
parent | d55ff0e2c64ea5c90a8573ca97b969e09a143d2b (diff) |
fixed most of the project-loading problems
Diffstat (limited to 'sprites.py')
-rw-r--r-- | sprites.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -237,14 +237,14 @@ class Sprite: if self._horiz_align[i] == "center": x = int(self._x+self._margins[0]+(my_width-w)/2) elif self._horiz_align[i] == 'left': - x = self._x+self._margins[0] + x = int(self._x+self._margins[0]) else: # right x = int(self._x+self._width-w-self._margins[2]) h = pl.get_size()[1]/pango.SCALE if self._vert_align[i] == "middle": y = int(self._y+self._margins[1]+(my_height-h)/2) elif self._vert_align[i] == "top": - y = self._y+self._margins[1] + y = int(self._y+self._margins[1]) else: # bottom y = int(self._y+self._height-h-self._margins[3]) self._sprites.gc.set_foreground(self._color) |