summaryrefslogtreecommitdiffstats
path: root/share/extensions/seamless_pattern.py
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-10-20 22:52:56 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-10-20 22:52:56 +0000
commit89cf10eee372c34e9b970f71d3f38ef011aebf48 (patch)
tree3c4a10abf68fb1fae3636a9cece99a7253109eec /share/extensions/seamless_pattern.py
parentFix a bug getting a template file in the seamless extension, also upgrade thi... (diff)
downloadinkscape-89cf10eee372c34e9b970f71d3f38ef011aebf48.tar.gz
inkscape-89cf10eee372c34e9b970f71d3f38ef011aebf48.zip
Some style changes to seamles pattern extension
(bzr r13341.1.284)
Diffstat (limited to 'share/extensions/seamless_pattern.py')
-rw-r--r--share/extensions/seamless_pattern.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/seamless_pattern.py b/share/extensions/seamless_pattern.py
index d04675b6b..f48de954a 100644
--- a/share/extensions/seamless_pattern.py
+++ b/share/extensions/seamless_pattern.py
@@ -151,9 +151,9 @@ class C(inkex.Effect):
namedview.set(inkex.addNS('document-units', 'inkscape'), 'px')
- namedview.set(inkex.addNS('cx', 'inkscape'), str((width*8)/2.0) )
+ namedview.set(inkex.addNS('cx', 'inkscape'), str((width*5.5)/2.0) )
namedview.set(inkex.addNS('cy', 'inkscape'), "0" )
- namedview.set(inkex.addNS('zoom', 'inkscape'), str(0.5 / (((width+height)/2)/100.)) )
+ namedview.set(inkex.addNS('zoom', 'inkscape'), str(1.0 / (width/100.0)) )
c = C()
c.affect()