hrev54865 adds 1 changeset to branch 'master'
old head: 8ff235aa286143a295644a3068ad485d3c9d8133
new head: c37693ddac4766c9686f53b31957925dab7d0cd9
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=c37693ddac47+%5E8ff235aa2861
----------------------------------------------------------------------------
c37693ddac47: KeyboardLayoutView: remove B_FLAT button flag for drawing keys
We do not want flat buttons here. This was introduced to get the Be
control look to draw inverted color labels on the buttons, but there
must be another way to do this.
Fixes #16660.
[ Adrien Destugues <adrien.destugues@xxxxxxxxxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54865
Commit: c37693ddac4766c9686f53b31957925dab7d0cd9
URL: https://git.haiku-os.org/haiku/commit/?id=c37693ddac47
Author: Adrien Destugues <adrien.destugues@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun Jan 10 11:17:57 2021 UTC
Ticket: https://dev.haiku-os.org/ticket/16660
----------------------------------------------------------------------------
1 file changed, 1 deletion(-)
src/preferences/keymap/KeyboardLayoutView.cpp | 1 -
----------------------------------------------------------------------------
diff --git a/src/preferences/keymap/KeyboardLayoutView.cpp
b/src/preferences/keymap/KeyboardLayoutView.cpp
index 495854e052..f8e568a794 100644
--- a/src/preferences/keymap/KeyboardLayoutView.cpp
+++ b/src/preferences/keymap/KeyboardLayoutView.cpp
@@ -735,7 +735,6 @@ KeyboardLayoutView::_DrawKey(BView* view, BRect updateRect,
const Key* key,
_SetFontSize(view, keyKind);
uint32 flags = pressed ? BControlLook::B_ACTIVATED : 0;
- flags |= BControlLook::B_FLAT;
if (secondDeadKey)
base = kSecondDeadKeyColor;