X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/892497bedb6699cdb0b5c2669ace09ec741f0383..778427f99b8ef872b62311cabd40a3c0e24bebde:/src/app/widgets/instrumentselector.py diff --git a/src/app/widgets/instrumentselector.py b/src/app/widgets/instrumentselector.py index fc0f966..6861643 100755 --- a/src/app/widgets/instrumentselector.py +++ b/src/app/widgets/instrumentselector.py @@ -29,6 +29,7 @@ class InstrumentSelector(pygame.sprite.LayeredDirty, EventHandlerMixin) : self._initTiles() self._initCursor() self._inflatedTile = None + self.selectedInstrument = None def _initTiles(self) : screen = pygame.display.get_surface() @@ -132,7 +133,7 @@ class InstrumentTile(pygame.sprite.DirtySprite) : innerSize = innerWidth, innerHeight border = pygame.Surface(self.rect.size) - border.fill((0,0,0,255)) + border.fill((0xdd,0xdd,0xdd,255)) bg = pygame.Surface(innerSize) bg.fill((255,255,255,255))