vcl/source/window/layout.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 9429f5aa7912f6d7da67834b0d9e0451f49ecdd6 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Mon Jul 24 15:09:23 2023 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Jul 24 17:34:10 2023 +0200
jsdialog: dark mode support in drawing area Change-Id: I235cf327c4c97d2f256c201ea4daf0c99f3d9005 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154855 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 0caa23fb37b2..5095ee62009d 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -3097,6 +3097,9 @@ void VclDrawingArea::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) pDevice->SetOutputSize(aRenderSize); tools::Rectangle aRect(Point(0,0), aRenderSize); + // Dark mode support + pDevice->DrawWallpaper(aRect, pRefDevice->GetBackground()); + Paint(*pDevice, aRect); BitmapEx aImage = pDevice->GetBitmapEx(Point(0,0), aRenderSize);