misc: fix error in not-used code, just in case

This commit is contained in:
bordun 2020-11-22 17:43:25 +01:00
parent 3a735789d3
commit 332f3bbc65

View file

@ -45,8 +45,8 @@ function getTransformationMatrix(w) {
}
module.export = function cssTransformCoords(node, x, y) {
module.exports = function cssTransformCoords(node, x, y) {
return new Point(pageX, pageY, 0).transformBy(getTransformationMatrix(element).inverse())
return new Point(x, y, 0).transformBy(getTransformationMatrix(node).inverse())
}