summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tikzit/src/gtk/NodeStyleSelector.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/tikzit/src/gtk/NodeStyleSelector.m b/tikzit/src/gtk/NodeStyleSelector.m
index 885dc79..a175be4 100644
--- a/tikzit/src/gtk/NodeStyleSelector.m
+++ b/tikzit/src/gtk/NodeStyleSelector.m
@@ -365,6 +365,8 @@ enum {
Transformer *shapeTrans = [Transformer transformerToFit:[shape boundingRect]
intoScreenRect:NSInsetRect(pixbufBounds, lineWidth, lineWidth)
flippedAboutXAxis:YES];
+ if ([style scale] < 1.0)
+ [shapeTrans setScale:[style scale] * [shapeTrans scale]];
CairoRenderContext *context = [[CairoRenderContext alloc] initForSurface:surface];
[context clearSurface];