Skip to content

Commit

Permalink
fence all Sprite.__constructor when flash is targeted
Browse files Browse the repository at this point in the history
  • Loading branch information
--set committed Oct 9, 2024
1 parent c39c049 commit 79452c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/swf/exporters/animate/AnimateSpriteSymbol.hx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AnimateSpriteSymbol extends AnimateSymbol

private override function __createObject(library:AnimateLibrary):Sprite
{
#if !macro
#if (!macro && !flash)
Sprite.__constructor = __constructor;
#end
this.library = library;
Expand Down Expand Up @@ -116,7 +116,7 @@ class AnimateSpriteSymbol extends AnimateSymbol

private override function __init(library:AnimateLibrary):Void
{
#if !macro
#if (!macro && !flash)
Sprite.__constructor = __constructor;
#end
this.library = library;
Expand Down

0 comments on commit 79452c3

Please sign in to comment.