X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/892497bedb6699cdb0b5c2669ace09ec741f0383..d2d0e07ee1695d69a6954133c7997974b55c62c8:/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))