Skip to content

Commit

Permalink
bugfix: OuterGlowStyle (#1207)
Browse files Browse the repository at this point in the history
Co-authored-by: newstarchen <newstarchen@tencent.com>
  • Loading branch information
newstarchen and newstarchen authored Jun 30, 2023
1 parent 4c18b13 commit 8f9cac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/tags/layerStyles/OuterGlowStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

namespace pag {
std::unique_ptr<BlockConfig> 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);
Expand Down

0 comments on commit 8f9cac8

Please sign in to comment.