From b9450ae725ed484f18cb4a3a44eddc6da01ec9d7 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Tue, 22 Nov 2016 13:04:13 +0200 Subject: [PATCH] Fixed Typical inheritance profile style implementation for I/O tables Now all transforms are calculated properly using DiagramGraphUtil.getDynamicWorldTransform in the default case. This fixes the highlights for flags that are attached to a diagram template flag table. refs #6812 --- .../modeling/ui/diagram/style/TypicalInheritanceStyle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java index c0de41267..f7260c039 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java @@ -129,7 +129,7 @@ public class TypicalInheritanceStyle extends StyleBase return new TypicalInheritanceResult(templatized, null, worldTransform, hasElementSource, null); } - AffineTransform worldTransform = DiagramGraphUtil.getWorldTransform(graph, element); + AffineTransform worldTransform = DiagramGraphUtil.getDynamicWorldTransform(graph, runtimeDiagram, element); return new TypicalInheritanceResult(templatized, null, worldTransform, hasElementSource, null); } -- 2.47.1