This commit is contained in:
ildus hakov 2023-10-26 18:54:55 -04:00
parent 5d22d2cdfe
commit 64122c6a34

View File

@ -1753,6 +1753,7 @@ char *Adafruit_GFX_Button::getLabel() { return _label; }
void Adafruit_GFX_Button::setEnabled(bool enable, uint16_t fillColor) {
_enabled = enable;
_fillcolor = fillColor;
currstate = (enable? currstate: false);
drawButton();
}