Skip to content

Commit

Permalink
#if !flash
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Oct 28, 2024
1 parent 0d968ba commit 7d9b1af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions haxe/ui/backend/ComponentGraphicsImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,10 @@ class ComponentGraphicsImpl extends ComponentGraphicsBase {
}
if (currentPath.commands[0] != GraphicsPathCommand.MOVE_TO) {
currentPath.commands.insertAt(0, GraphicsPathCommand.MOVE_TO);
#if !flash
@:privateAccess currentPath.data.insertAt(0, flashGfxSprite.graphics.__positionX);
@:privateAccess currentPath.data.insertAt(0, flashGfxSprite.graphics.__positionY);
#end
}
flashGfxSprite.graphics.drawPath(currentPath.commands, currentPath.data);
if (_currentFillColor != null) {
Expand Down

0 comments on commit 7d9b1af

Please sign in to comment.