diff options
Diffstat (limited to 'vcl/inc/skia/gdiimpl.hxx')
-rw-r--r-- | vcl/inc/skia/gdiimpl.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/skia/gdiimpl.hxx b/vcl/inc/skia/gdiimpl.hxx index aeaef186ca44..cc4cda4b2ebd 100644 --- a/vcl/inc/skia/gdiimpl.hxx +++ b/vcl/inc/skia/gdiimpl.hxx @@ -327,7 +327,10 @@ protected: paint.setColor(transparency == 0 ? SkiaHelper::toSkColor(mFillColor) : SkiaHelper::toSkColorWithTransparency(mFillColor, transparency)); - paint.setStyle(SkPaint::kFill_Style); + if (mLineColor == mFillColor) + paint.setStyle(SkPaint::kStrokeAndFill_Style); + else + paint.setStyle(SkPaint::kFill_Style); return paint; } |