mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make the color filter layer use the paint specified by the framework. (flutter/engine#4782)
This commit is contained in:
parent
3dcbbbb65e
commit
457de9145f
@ -19,7 +19,7 @@ void ColorFilterLayer::Paint(PaintContext& context) const {
|
||||
SkPaint paint;
|
||||
paint.setColorFilter(std::move(color_filter));
|
||||
|
||||
Layer::AutoSaveLayer(context, paint_bounds(), nullptr);
|
||||
Layer::AutoSaveLayer(context, paint_bounds(), &paint);
|
||||
PaintChildren(context);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user