diff --git a/icon_cursor.go b/icon_cursor.go index ff45798..2ae05da 100644 --- a/icon_cursor.go +++ b/icon_cursor.go @@ -140,7 +140,7 @@ func (c *IconCursor) readTransformAttr(m1 rasterx.Matrix2D, k string) (rasterx.M } case "scale": if ln == 1 { - m1 = m1.Scale(c.points[0], 0) + m1 = m1.Scale(c.points[0], c.points[0]) } else if ln == 2 { m1 = m1.Scale(c.points[0], c.points[1]) } else {