diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-07-24 15:09:23 +0200 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-07-24 16:12:40 +0200 |
commit | 89266e4ebf4ce0de5686f1511f4487a9d23185b5 (patch) | |
tree | 895e650ac51e3477fd5a80f58b6f669f761e35c2 /vcl | |
parent | 78bf71884946456e5c072add9a83ad486b5f79e6 (diff) |
jsdialog: dark mode support in drawing area
Change-Id: I235cf327c4c97d2f256c201ea4daf0c99f3d9005
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154844
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 46f816b29edd..8534b2809017 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -3092,6 +3092,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); |