Skip to content

Commit

Permalink
Merge pull request #17 from cactusanctuary/master
Browse files Browse the repository at this point in the history
Fix for Flash target, so a TileGroup.visible property actually affects w...
  • Loading branch information
elsassph committed May 17, 2015
2 parents c382b77 + 79e5634 commit 477b2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxelib/aze/display/TileLayer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TileLayer extends TileGroup
var sprite:TileSprite = cast child;

#if flash
if (sprite.visible && sprite.alpha > 0.0)
if (sprite.parent.visible && sprite.visible && sprite.alpha > 0.0)
{
var m = sprite.bmp.transform.matrix;
m.identity();
Expand Down

0 comments on commit 477b2c5

Please sign in to comment.