IconButton hover fix.
This commit is contained in:
parent
f09a63930f
commit
a6a8ad5677
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user