diff --git a/modules/skottie/src/SkottieLayer.cpp b/modules/skottie/src/SkottieLayer.cpp index 399f396f9f..03ca93bb2a 100644 --- a/modules/skottie/src/SkottieLayer.cpp +++ b/modules/skottie/src/SkottieLayer.cpp @@ -293,8 +293,11 @@ sk_sp AnimationBuilder::attachSolidLayer(const skjson::ObjectV const SkColor color = 0xff000000 | c; + auto solid_paint = sksg::Color::Make(color); + solid_paint->setAntiAlias(true); + return sksg::Draw::Make(sksg::Rect::Make(SkRect::MakeSize(size)), - sksg::Color::Make(color)); + std::move(solid_paint)); } const AnimationBuilder::ImageAssetInfo*