Improve transformY alignment on svg layer

This commit is contained in:
Franc Camps-Febrer
2018-12-13 12:21:14 +01:00
parent d8cb6f4ba8
commit 17e14dee2a

View File

@@ -123,8 +123,8 @@ Stop and start the development process in terminal after you have added your tok
function getSVGBoundaries() {
return {
topLeft: projectPoint(maxBoundaries[0]),
bottomRight: projectPoint(maxBoundaries[1])
transformX: +transform.split(',')[4],
transformY: +transform.split(',')[5].substring(0, transform.split(',')[5].length - 1)
}
}