summaryrefslogtreecommitdiff
path: root/external/rhino
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-05-31 14:56:46 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-05-31 20:19:56 +0200
commit42bf893a8479f70d7d8f00e03105ce15e8545f8b (patch)
treed5d5ee25619aede0583a2b4cb6066493b51b5131 /external/rhino
parenta415ba29f067d457669576e89b4df8fb3fa96c52 (diff)
tdf#125550 vcl menu bar / floating window: fix text color
Regression from commit e8d5b8beb5958147235ff955ed38c47b51d860ff (tdf#113714 vcl menu bar window: avoid flicker, 2019-05-20), the problem was that a freshly created VirtualDevice doesn't have the default text color, so we need to initialize that explicitly based on the render context text color. Also introduce a BufferDevice to do this initialization, instead of fixing this in MenuBarWindow::Paint(), then copy&pasting the fix to MenuFloatingWindow::Paint(). Change-Id: Ib171cd52e7cabe0bc3c639821f558d8303039fe6 Reviewed-on: https://gerrit.libreoffice.org/73269 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'external/rhino')
0 files changed, 0 insertions, 0 deletions