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