Skip to content

Commit

Permalink
Linux sash drawing fixes (light theme)
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Nov 18, 2024
1 parent 03682b7 commit c3d0768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Plugin/cl_aui_dock_art.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ void clAuiDockArt::DrawSash(wxDC& dc, wxWindow* window, int orientation, const w
Draw3DSash(dc, rect, orientation, bg_colour, light_col, dark_col);

} else {
auto bg_colour = clSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
auto dark_col = bg_colour.ChangeLightness(60);
auto light_col = bg_colour.ChangeLightness(140);
auto bg_colour = clSystemSettings::GetColour(wxSYS_COLOUR_3DFACE).ChangeLightness(110);
auto dark_col = bg_colour.ChangeLightness(50);
auto light_col = *wxWHITE;
Draw3DSash(dc, rect, orientation, bg_colour, light_col, dark_col);
}
#elif defined(__WXMAC__) || defined(__WXMSW__)
Expand Down

0 comments on commit c3d0768

Please sign in to comment.