From c9fcbe5e96839da403eb1c812f33d4e405ac55ad Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 15 Jun 2021 09:46:58 +0200 Subject: [PATCH] fix transform in scale generator extension --- .../vertical_horizontal_scale/vertical_horizontal_scale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/vertical_horizontal_scale/vertical_horizontal_scale.py b/extensions/fablabchemnitz/vertical_horizontal_scale/vertical_horizontal_scale.py index b71324c1..69a7cbb5 100644 --- a/extensions/fablabchemnitz/vertical_horizontal_scale/vertical_horizontal_scale.py +++ b/extensions/fablabchemnitz/vertical_horizontal_scale/vertical_horizontal_scale.py @@ -476,7 +476,7 @@ class VerticalHorizontalScale(inkex.EffectExtension): y = self.bbox[2] + half centre = (x, y) - grp_transform = 'translate' + str( centre ) + grp_transform = 'translate(' + str(centre) + ')' grp_name = 'Label line' grp_attribs = {inkex.addNS('label','inkscape'):grp_name, 'transform':grp_transform }