X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/a949d504ea9d83f36063583f9b2bd9f2f24b7b3f..f96fb4a3b382ac97bcdfd86549f685b02ff7968a:/src/app/widgets/playingscreen.py diff --git a/src/app/widgets/playingscreen.py b/src/app/widgets/playingscreen.py index 1a014e7..223f4e5 100755 --- a/src/app/widgets/playingscreen.py +++ b/src/app/widgets/playingscreen.py @@ -47,7 +47,6 @@ class _PlayingScreenBase(pygame.sprite.LayeredDirty, EventHandlerMixin) : self._running = False self.draw(pygame.display.get_surface()) self._initCursor() - def _initRects(self) : @@ -98,6 +97,8 @@ class _PlayingScreenBase(pygame.sprite.LayeredDirty, EventHandlerMixin) : dirty = self.draw(pygame.display.get_surface()) pygame.display.update(dirty) clock.tick(FRAMERATE) + + self.cursor._stopBlink() @event_handler(pygame.KEYDOWN) def handleKeyDown(self, event) : @@ -132,6 +133,7 @@ class PlayingScreen(_PlayingScreenBase) : fs.program_select(0, fsid, bank, preset) def __del__(self) : + print 'PlayingScreen.__del__' self.fs.delete() @event_handler(events.NOTEON)