IconButton hover fix.

This commit is contained in:
Tomeu Vizoso 2007-02-27 23:05:34 +01:00
parent f09a63930f
commit a6a8ad5677

View File

@ -102,9 +102,7 @@ class IconButton(CanvasIcon):
def prelight(self, enter): def prelight(self, enter):
if enter: if enter:
if self._active: if self._active:
self.props.fill_color = color.BLACK
self.props.background_color = color.BLACK.get_int() self.props.background_color = color.BLACK.get_int()
else: else:
if self._active: if self._active:
self.props.fill_color = self._normal_fill_color
self.props.background_color = self._normal_background_color self.props.background_color = self._normal_background_color