X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/892497bedb6699cdb0b5c2669ace09ec741f0383..e7854ed82aa375273bfbf772493739f875817061:/src/app/widgets/instrumentselector.py?ds=inline 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))