diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-16 09:10:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-16 16:28:20 +0200 |
commit | bf89ac73fdb1ca8c083913f6ad8aaf8cec9114c5 (patch) | |
tree | 493a40b4ac4aeb2324058e0965b27d9ff31349d0 /sfx2/source | |
parent | d16d5b0dfdd43d6dfcf8caffaede6f5cfe22af29 (diff) |
occasionally the bg color of the deck grip is wrong
Change-Id: I318e817a8e99b9f01aee90f042bfac39a1c4b5d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122176
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-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); } }; |