summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index d09a6b3cb..0c2600583 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -471,7 +471,7 @@ void Button::draw(Graphics *const graphics)
mode = BUTTON_DISABLED;
else if (isPressed2())
mode = BUTTON_PRESSED;
- else if (mHasMouse || isFocused())
+ else if (mHasMouse)
mode = BUTTON_HIGHLIGHTED;
else
mode = BUTTON_STANDARD;