diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-28 21:25:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-29 11:21:51 +0200 |
commit | 05f9fb98bb64f15e0df6a7ca88b5391e051c2ebf (patch) | |
tree | d42c370a5b968a2604952b408702f613d3a10d08 /vcl | |
parent | 4c8b1fa44d4f49510d3910981e649dcb08bceb36 (diff) |
use WindowColor instead of White for highlighted toolbox items
White doesn't work well for a dark theme
Change-Id: I841f5df1fee95e9974e312ee058c54f47763fb0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142001
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index bd2f5f5ffa35..c0375583350c 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -538,7 +538,7 @@ void ToolBox::ImplErase(vcl::RenderContext& rRenderContext, const tools::Rectang // choose the same color as the popup will use rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetFaceGradientColor()); else - rRenderContext.SetFillColor(COL_WHITE); + rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor()); rRenderContext.DrawRect(rRect); rRenderContext.Pop(); |