mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Apply path effects from a DlPaint to a DisplayListBuilder (flutter/engine#36669)
This commit is contained in:
parent
b5374031e9
commit
0faaa9756f
@ -359,10 +359,9 @@ void DisplayListBuilder::setAttributesFromDlPaint(
|
||||
if (flags.applies_image_filter()) {
|
||||
setImageFilter(paint.getImageFilter().get());
|
||||
}
|
||||
// Waiting for https://github.com/flutter/engine/pull/32159
|
||||
// if (flags.applies_path_effect()) {
|
||||
// setPathEffect(sk_ref_sp(paint.getPathEffect()));
|
||||
// }
|
||||
if (flags.applies_path_effect()) {
|
||||
setPathEffect(paint.getPathEffect().get());
|
||||
}
|
||||
if (flags.applies_mask_filter()) {
|
||||
setMaskFilter(paint.getMaskFilter().get());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user