Update Matrix2D.js

fix hasInitialState for edge case
This commit is contained in:
Mikael Sand
2019-06-09 12:45:10 +03:00
committed by GitHub
parent 4de282298b
commit 33b4ab4f18
+1
View File
@@ -197,6 +197,7 @@ export default class Matrix2D {
// append the registration offset:
this.tx -= regX * this.a + regY * this.c;
this.ty -= regX * this.b + regY * this.d;
this.hasInitialState = false;
}
};
}