cleanup.
[minwii.git] / src / app / widgets / instrumentselector.py
index fc0f966..6861643 100755 (executable)
@@ -29,6 +29,7 @@ class InstrumentSelector(pygame.sprite.LayeredDirty, EventHandlerMixin) :
         self._initTiles()
         self._initCursor()
         self._inflatedTile = None
         self._initTiles()
         self._initCursor()
         self._inflatedTile = None
+        self.selectedInstrument = None
     
     def _initTiles(self) :
         screen = pygame.display.get_surface()
     
     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)
         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))
         
         bg = pygame.Surface(innerSize)
         bg.fill((255,255,255,255))