Skip to content

Commit

Permalink
Merge pull request #74 from MrTeferi/template-loader-rewrite
Browse files Browse the repository at this point in the history
fix(classic): Fixed promo star setting on classic templates
  • Loading branch information
Investigamer committed Apr 6, 2023
2 parents 63e696f + f46f831 commit 775e339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def enable_frame_layers(self):

# Add the promo star
if self.promo_star:
psd.getLayer("Promo Star", con.layers.TEXT_AND_ICONS).visible = True
psd.getLayerSet("Promo Star", con.layers.TEXT_AND_ICONS).visible = True

def collector_info(self) -> None:
"""
Expand Down Expand Up @@ -2924,4 +2924,4 @@ def enable_frame_layers(self):

# Add the promo star
if self.promo_star:
psd.getLayer("Promo Star").visible = True
psd.getLayerSet("Promo Star").visible = True

0 comments on commit 775e339

Please sign in to comment.