From cd90405f0233232da4dfeecbb9fbd06a68b647b3 Mon Sep 17 00:00:00 2001 From: dsward2 Date: Mon, 17 Oct 2016 05:03:24 -0500 Subject: [PATCH] In [DOMSelectionControlsManager makeDOMSelectionHandles], tentatively disable copying the transform attribute to the parent "g" (group) element --- macSVG/SVGDocument Classes/DOMSelectionControlsManager.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macSVG/SVGDocument Classes/DOMSelectionControlsManager.m b/macSVG/SVGDocument Classes/DOMSelectionControlsManager.m index 1cb5cbd..aee96b1 100644 --- a/macSVG/SVGDocument Classes/DOMSelectionControlsManager.m +++ b/macSVG/SVGDocument Classes/DOMSelectionControlsManager.m @@ -1182,6 +1182,8 @@ } } + /* + // 20161017 - tentatively disable copying the transform attribute here - it was getting applied twice in the new controls elements NSString * transformAttribute = [aDomElement getAttribute:@"transform"]; if (transformAttribute != NULL) { @@ -1190,6 +1192,7 @@ [handleParentElement setAttributeNS:NULL qualifiedName:@"transform" value:transformAttribute]; } } + */ NSString * elementName = aDomElement.nodeName; if ((self.validElementsForTransformDictionary)[elementName] != NULL)