"""
import pygame
from math import floor
-import minwii.gradients
+import minwii.gradients as gradients
from minwii.globals import BACKGROUND_LAYER
from minwii.globals import FOREGROUND_LAYER
from minwii.globals import hls_to_rgba_8bits
from minwii.config import ON_COLUMN_ALPHA
from minwii.config import LYRICS_FONT, NOTES_FONT
from minwii.config import FONT_COLOR
-import minwii.events
+import minwii.events as events
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