From 6ac411efd195c6ec0b96bfe73c6e6653697cbc5c Mon Sep 17 00:00:00 2001
From: looncraz <looncraz@looncraz.net>
Date: Tue, 12 Jul 2016 21:39:51 +0000
Subject: [PATCH] Force using control text color for BButton
Fixes 12604
---
src/kits/interface/Button.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kits/interface/Button.cpp b/src/kits/interface/Button.cpp
index 6d3fd4b..9fc077c 100644
a
|
b
|
BButton::Draw(BRect updateRect)
|
135 | 135 | BRect rect(Bounds()); |
136 | 136 | rgb_color background = ViewColor(); |
137 | 137 | rgb_color base = LowColor(); |
138 | | rgb_color textColor = HighColor(); |
| 138 | rgb_color textColor = ui_color(B_CONTROL_TEXT_COLOR); |
139 | 139 | |
140 | 140 | uint32 flags = be_control_look->Flags(this); |
141 | 141 | if (_Flag(FLAG_DEFAULT)) |