Skip to content

Commit 6b6c21f

Browse files
authored
#22 Fix: Ortho renderer tiles rotated incorrectly. (#23)
1 parent 2d002f5 commit 6b6c21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

render/orthogonal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (e *OrthogonalRendererEngine) RotateTileImage(tile *tiled.LayerTile, img im
5454
timg = imaging.FlipV(timg)
5555
}
5656
if tile.DiagonalFlip {
57-
timg = imaging.FlipH(imaging.Rotate270(timg))
57+
timg = imaging.FlipH(imaging.Rotate90(timg))
5858
}
5959

6060
return timg

0 commit comments

Comments
 (0)