diff --git a/gui/widgets/buttons.py b/gui/widgets/buttons.py index fb7f284..c22eb06 100644 --- a/gui/widgets/buttons.py +++ b/gui/widgets/buttons.py @@ -55,7 +55,7 @@ class Button(Widget): h = self.height if not self.visible: # erase the button display.usegrey(False) - display.fill_rect(x, y, w, h, BGCOLOR) + display.fill_rect(x, y, w, h, self.bgcolor) return super().show() # Blank rectangle containing button if self.shape == CIRCLE: # Button coords are of top left corner of bounding box