mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 17:15:04 +00:00
Update Matrix2D.js
fix hasInitialState for edge case
This commit is contained in:
@@ -197,6 +197,7 @@ export default class Matrix2D {
|
|||||||
// append the registration offset:
|
// append the registration offset:
|
||||||
this.tx -= regX * this.a + regY * this.c;
|
this.tx -= regX * this.a + regY * this.c;
|
||||||
this.ty -= regX * this.b + regY * this.d;
|
this.ty -= regX * this.b + regY * this.d;
|
||||||
|
this.hasInitialState = false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user