Skip to content

Commit aa6994c

Browse files
authored
correct minor bug
1 parent c22fe5a commit aa6994c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/embroideryio/embroideryio/EmbPattern.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ public void addPattern(EmbPattern pattern, float dx, float dy, float sx, float s
802802
if ((dx != 0) || (dy != 0)) {
803803
addStitchAbs(dx, dy, MATRIX_TRANSLATE);
804804
}
805-
if ((sx != 0) || (sy != 0)) {
805+
if ((sx != 1) || (sy != 1)) {
806806
addStitchAbs(sx, sy, MATRIX_SCALE);
807807
}
808808
if ((rotate != 0)) {

0 commit comments

Comments
 (0)