Commits

Anonymous committed 452c5d7

Reverse the order of rendered elements. This allows layers of transparent gradients/shapes.

  • Participants
  • Parent commits 6b4a4ea

Comments (0)

Files changed (1)

canvas/display/Graphics.hx

 	
         var len : Int = mDrawList.length;
         for ( i in 0...len ) {
-            var d = mDrawList[i];
+            var d = mDrawList[(len-1)-i];
             ctx.save();
             ctx.beginPath();