diff --git a/src/ofxSimpleGuiControl.cpp b/src/ofxSimpleGuiControl.cpp index f8de7cd..817539c 100644 --- a/src/ofxSimpleGuiControl.cpp +++ b/src/ofxSimpleGuiControl.cpp @@ -65,7 +65,7 @@ ofxSimpleGuiControl &ofxSimpleGuiControl::setTextBGColor(bool clickable) { } ofxSimpleGuiControl &ofxSimpleGuiControl::setFullColor(bool forceActive) { - if(isMousePressed() || forceActive) ofSetHexColor(config->fullActiveColor); + if(isMouseDown() || forceActive) ofSetHexColor(config->fullActiveColor); else if(isMouseOver()) ofSetHexColor(config->fullOverColor); else ofSetHexColor(config->fullColor); return *this;