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 authored and jgranick committed Oct 23, 2024
1 parent ef4e4a7 commit 2689bfc
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 2689bfc

Please sign in to comment.