mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-03 07:13:45 +00:00
Use SrcOver mode in SkiaSurface::fillRect()
This commit is contained in:
parent
b44c4f8b7b
commit
3674399d0b
@ -242,6 +242,7 @@ public:
|
|||||||
SkPaint paint;
|
SkPaint paint;
|
||||||
paint.setColor(to_skia(color));
|
paint.setColor(to_skia(color));
|
||||||
paint.setStyle(SkPaint::kFill_Style);
|
paint.setStyle(SkPaint::kFill_Style);
|
||||||
|
paint.setXfermodeMode(SkXfermode::kSrcOver_Mode);
|
||||||
m_canvas->drawRect(to_skia(rc), paint);
|
m_canvas->drawRect(to_skia(rc), paint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user