aboutsummaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-08 19:48:20 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-08 19:48:20 +0100
commit8a0a4d797f8954a3b1964c6e407d9291d4afc7ab (patch)
treef1c29feea5d4996d0da91bb6caebe82b1df33afe /dist/svg.js
parenteb17e6477a6ec62a05d4d6630c8fdcf5c6291b06 (diff)
downloadsvg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.tar.gz
svg.js-8a0a4d797f8954a3b1964c6e407d9291d4afc7ab.zip
Fix offset produced by svg parser (#553)
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js
index b48e1b9..492047d 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
-* BUILT: Wed Mar 08 2017 19:30:37 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Wed Mar 08 2017 19:40:52 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -157,7 +157,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')