]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed bounds calculation for flags and diagram profile monitors. 83/183/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 28 Nov 2016 17:20:29 +0000 (19:20 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 28 Nov 2016 17:23:01 +0000 (20:23 +0300)
commit5567c19e0f7ea8aa8ef645422c889a51aeb540f8
treec2128842fea988de3849d3732acf5d682ff82d5f
parent1f4d3bbd7b3180c5702770ce625ccb65a2454f9a
Fixed bounds calculation for flags and diagram profile monitors.

NodeUtil.getLocalElementBounds did not recognize flag table flags from
the scene graph. Also TextGridStyle.calculateStyle used wrong method for
transform calculation which causes profile monitors to be positioned
incorrectly.

refs #6837
refs #6812
[PRIVATE-12779]
[PRIVATE-8884]

Change-Id: I0700b969347a692ed8d4ff8ec0a5d2c3be781fc1
bundles/org.simantics.diagram/src/org/simantics/diagram/profile/TextGridStyle.java
bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/utils/NodeUtil.java