Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3a25e10

Browse files
committed
fixed solid blur style
1 parent d1a2c69 commit 3a25e10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impeller/entity/contents/filters/gaussian_blur_filter_contents.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ Entity ApplyBlurStyle(FilterContents::BlurStyle blur_style,
263263
Entity::FromSnapshot(input_snapshot, entity.GetBlendMode());
264264
Entity result;
265265
Matrix blurred_transform = blur_entity.GetTransform();
266-
Matrix snapshot_transform = snapshot_entity.GetTransform();
266+
Matrix snapshot_transform =
267+
entity.GetTransform() * snapshot_entity.GetTransform();
267268
result.SetContents(Contents::MakeAnonymous(
268269
fml::MakeCopyable([blur_entity = blur_entity.Clone(),
269270
blurred_transform, snapshot_transform,

0 commit comments

Comments
 (0)