X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/004dc10b1148278e38ba86cfdfaf2a957dfe41eb..9845b232ab53ef98733306299e1a52afbabb4e70:/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