summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-02 10:08:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-02 12:36:43 +0100
commit9762f8d30e30b6e79d18517a14d844aac34b02a0 (patch)
treed9272c4a7155547cad72511c329c203728fcf26c
parent5c5a2377038901204ec23e588f11e3592b1bea08 (diff)
color is meant to be the same as the popups color
which is FaceColor and not FaceGradientColor as far as I can see Change-Id: Icc3b874ac2e31845df2f017446dc85efd9aaed59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142161 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/window/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index c0375583350c..5e96911c8f20 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -536,7 +536,7 @@ void ToolBox::ImplErase(vcl::RenderContext& rRenderContext, const tools::Rectang
rRenderContext.SetLineColor();
if (bHasOpenPopup)
// choose the same color as the popup will use
- rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetFaceGradientColor());
+ rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetFaceColor());
else
rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor());