-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 48 removes SVGGraphicsElement.getTransformToElement() #57
Comments
Hmm.. Apparently the getTransformToElement should be back in the latest version. There does however seem to be a fix SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function(elem) {
return elem.getScreenCTM().inverse().multiply(this.getScreenCTM());
}; More details here dagrejs/dagre-d3#202 |
Ok thanks guy, I'll try it. |
@tikiatua, just as a heads up, latest chrome mac Version 48.0.2564.103 (64-bit) doesn't have getTransformToElement |
The latest 48.0.2564.109 (64-bit) version still does not fix this issue. |
Hi there, should be fixed in the latest version (v0.0.11) |
The most recent version of chrome (48.0.2564.97) removes
zpdElement.node.getTransformToElement
which is used when creating edges.Therefore using
snap.svg.zpd
in this latest beta version of Chrome throws errors like:TypeError: zpdElement.node.getTransformToElement is not a function(…)
How best to fix this in
snap.svg.zpd
?The text was updated successfully, but these errors were encountered: