sfx2/source/sidebar/DeckTitleBar.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 876254bee420e89e560ac8dbbb1828bda92ed2e8 Author: Caolán McNamara <[email protected]> AuthorDate: Thu Sep 16 09:10:08 2021 +0100 Commit: Michael Stahl <[email protected]> CommitDate: Fri Sep 17 10:41:03 2021 +0200 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 <[email protected]> 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); } };
