From 8f9cac882e27150b0dae720bc31ad54853f73dfc Mon Sep 17 00:00:00 2001 From: newstarchen <45005124+newstarchen@users.noreply.github.com> Date: Sat, 1 Jul 2023 00:28:24 +0800 Subject: [PATCH] bugfix: OuterGlowStyle (#1207) Co-authored-by: newstarchen --- src/codec/tags/layerStyles/OuterGlowStyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codec/tags/layerStyles/OuterGlowStyle.cpp b/src/codec/tags/layerStyles/OuterGlowStyle.cpp index 91ae734e56..3bd3fe2cee 100644 --- a/src/codec/tags/layerStyles/OuterGlowStyle.cpp +++ b/src/codec/tags/layerStyles/OuterGlowStyle.cpp @@ -20,7 +20,7 @@ namespace pag { std::unique_ptr OuterGlowStyleTag(OuterGlowStyle* style) { - auto tagConfig = new BlockConfig(TagCode::StrokeStyle); + auto tagConfig = new BlockConfig(TagCode::OuterGlowStyle); AddAttribute(tagConfig, &style->blendMode, AttributeType::DiscreteProperty, BlendMode::Normal); AddAttribute(tagConfig, &style->opacity, AttributeType::SimpleProperty, (Opacity)191); AddAttribute(tagConfig, &style->noise, AttributeType::SimpleProperty, 0.0f);