FIX: [STUDIO-2301] SideButton: not show hover state with focus
Change-Id: I76be9d6c24e75cf97135b398928f50a3483e0fae
This commit is contained in:
parent
bec1858a16
commit
a7138a47ad
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ SideButton::SideButton(wxWindow* parent, wxString text, wxString icon, long stly
|
|||
border_color.append(wxColour(23, 129, 63), StateColor::Pressed);
|
||||
border_color.append(wxColour(48,221,112), StateColor::Hovered);
|
||||
border_color.append(0x00AE42, StateColor::Normal);
|
||||
border_color.setTakeFocusedAsHovered(false);
|
||||
|
||||
text_color.append(0xACACAC, StateColor::Disabled);
|
||||
text_color.append(0xFEFEFE, StateColor::Pressed);
|
||||
|
@ -41,6 +42,7 @@ SideButton::SideButton(wxWindow* parent, wxString text, wxString icon, long stly
|
|||
background_color.append(wxColour(23, 129, 63), StateColor::Pressed);
|
||||
background_color.append(wxColour(48, 221, 112), StateColor::Hovered);
|
||||
background_color.append(0x00AE42, StateColor::Normal);
|
||||
background_color.setTakeFocusedAsHovered(false);
|
||||
|
||||
SetBottomColour(wxColour("#3B4446"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue