X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/5f4ee7f263cf2dc3d89e0a3d3886fd8eedbda89b..079242f81791daf1901745704c12da8214cd92b9:/src/minwii/widgets/column.py 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