Skip to content

Commit

Permalink
Disable for pollygons and paths in tactical graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 16, 2024
1 parent 5e4d065 commit 9531a7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ actual open class MilStd2525TacticalGraphic @JvmOverloads actual constructor(
val shape = if (si.shapeType == ShapeInfo.SHAPE_TYPE_FILL) {
Polygon(positions, if (i == 0) shapeAttributes else outlineAttributes)
} else {
Path(positions, if (i == 0) shapeAttributes else outlineAttributes).apply { allowBatching = !hasOutline }
}
Path(positions, if (i == 0) shapeAttributes else outlineAttributes)
}.apply { allowBatching = !hasOutline }
applyShapeAttributes(shape)
if (i == 0) shapes += shape else outlines += shape
if (!hasOutline) break
Expand Down

0 comments on commit 9531a7d

Please sign in to comment.