X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/5f4ee7f263cf2dc3d89e0a3d3886fd8eedbda89b..df5d8b30328acae3ba500882f50888644dbc0e32:/src/minwii/widgets/column.py?ds=inline diff --git a/src/minwii/widgets/column.py b/src/minwii/widgets/column.py index fc7dde2..d829152 100755 --- a/src/minwii/widgets/column.py +++ b/src/minwii/widgets/column.py @@ -72,9 +72,9 @@ class Column(pygame.sprite.DirtySprite) : if state : group.change_layer(self, FOREGROUND_LAYER) sur = self.surOn + rect = self.rectOn if syllabus : sur = sur.copy() - rect = self.rectOn renderedSyl = LYRICS_FONT.render(syllabus, True, FONT_COLOR) sw, sh, = renderedSyl.get_size() w, h = self.rectOn.w, self.rectOn.h