diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-08 19:48:20 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-08 19:48:20 +0100 |
commit | 8a0a4d797f8954a3b1964c6e407d9291d4afc7ab (patch) | |
tree | f1c29feea5d4996d0da91bb6caebe82b1df33afe /src/svg.js | |
parent | eb17e6477a6ec62a05d4d6630c8fdcf5c6291b06 (diff) | |
download | svg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.tar.gz svg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.zip |
Fix offset produced by svg parser (#553)
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ SVG.prepare = function() { // Create parser object SVG.parser = { body: body || document.documentElement - , draw: draw.style('opacity:0;position:fixed;left:100%;top:100%;overflow:hidden') + , draw: draw.style('opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden') , poly: draw.polyline().node , path: draw.path().node , native: SVG.create('svg') |