diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-16 09:10:08 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-09-17 10:41:03 +0200 |
commit | 876254bee420e89e560ac8dbbb1828bda92ed2e8 (patch) | |
tree | 217f6603d9828c9a21870061c382f1a91ecbfd3b | |
parent | d8e5a8c7c3ff747023e7b4b501b7eaef86c40592 (diff) |
occasionally the bg color of the deck grip is wrong
Change-Id: I318e817a8e99b9f01aee90f042bfac39a1c4b5d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122120
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r-- | sfx2/source/sidebar/DeckTitleBar.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx index 6700014e82a4..42379e5354f3 100644 --- a/sfx2/source/sidebar/DeckTitleBar.cxx +++ b/sfx2/source/sidebar/DeckTitleBar.cxx @@ -53,6 +53,7 @@ public: virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rRect*/) override { rRenderContext.SetBackground(Theme::GetColor(Theme::Color_DeckTitleBarBackground)); + rRenderContext.Erase(); rRenderContext.DrawBitmapEx(Point(0, 0), maGrip); } }; |