summaryrefslogtreecommitdiffstats
path: root/share/extensions
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-07-27 20:33:58 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-07-27 20:33:58 +0000
commitcad1e0ce01d19f0325cc906ff6be1b7995a34ee0 (patch)
tree1d838accf90a0ea787640273a57a4435a4169867 /share/extensions
parentMore icon clean up. (diff)
downloadinkscape-cad1e0ce01d19f0325cc906ff6be1b7995a34ee0.tar.gz
inkscape-cad1e0ce01d19f0325cc906ff6be1b7995a34ee0.zip
Fixes bug https://bugs.launchpad.net/inkscape/+bug/1686551
Diffstat (limited to 'share/extensions')
-rw-r--r--share/extensions/jessyInk.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/extensions/jessyInk.js b/share/extensions/jessyInk.js
index 74e9c0b9c..d6adaa250 100644
--- a/share/extensions/jessyInk.js
+++ b/share/extensions/jessyInk.js
@@ -2721,3 +2721,7 @@ String.prototype.trim = function()
return this.replace(/^\s+|\s+$/g, '');
}
+/** SVGElement.getTransformToElement polyfill */
+SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function(elem) {
+ return elem.getScreenCTM().inverse().multiply(this.getScreenCTM());
+};