summaryrefslogtreecommitdiff
path: root/src/Fl_Menu_Button.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-11 22:25:52 +0100
committerGitHub <noreply@github.com>2023-10-11 23:25:52 +0200
commit33b601e57404fcef058a992ba7767f2c4f16a81b (patch)
tree15747e586b76618734442db6054e219b1af4511b /src/Fl_Menu_Button.cxx
parente2c2ba777362f9d231e8b7281c764132038b8d61 (diff)
Synchronize all arrow colors and inactive drawing (#791)
Diffstat (limited to 'src/Fl_Menu_Button.cxx')
-rw-r--r--src/Fl_Menu_Button.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu_Button.cxx b/src/Fl_Menu_Button.cxx
index df30ce2de..22a85f52d 100644
--- a/src/Fl_Menu_Button.cxx
+++ b/src/Fl_Menu_Button.cxx
@@ -41,7 +41,7 @@ void Fl_Menu_Button::draw() {
// draw the arrow (choice button)
- Fl_Color arrow_color = active_r() ? FL_DARK3 : fl_inactive(FL_DARK3);
+ Fl_Color arrow_color = active_r() ? labelcolor() : fl_inactive(labelcolor());
fl_draw_arrow(Fl_Rect(ax, ay, aw, ah), FL_ARROW_SINGLE, FL_ORIENT_DOWN, arrow_color);
}