misc: fix error in not-used code, just in case
This commit is contained in:
parent
3a735789d3
commit
332f3bbc65
1 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue