Fix image animation for memberspec when there are children to the cluster
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/afe0d826 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/afe0d826 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/afe0d826 Branch: refs/heads/master Commit: afe0d82696eb219a436eef6a0a5b54dead3ba635 Parents: 3c1ab28 Author: Thomas Bouron <[email protected]> Authored: Wed Oct 10 13:52:32 2018 +0100 Committer: Thomas Bouron <[email protected]> Committed: Thu Oct 11 15:14:38 2018 +0100 ---------------------------------------------------------------------- ui-modules/blueprint-composer/app/components/util/d3-blueprint.js | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/afe0d826/ui-modules/blueprint-composer/app/components/util/d3-blueprint.js ---------------------------------------------------------------------- diff --git a/ui-modules/blueprint-composer/app/components/util/d3-blueprint.js b/ui-modules/blueprint-composer/app/components/util/d3-blueprint.js index 04e26b8..032e7a3 100755 --- a/ui-modules/blueprint-composer/app/components/util/d3-blueprint.js +++ b/ui-modules/blueprint-composer/app/components/util/d3-blueprint.js @@ -879,8 +879,6 @@ export function D3Blueprint(container) { specNodeData.select('image') .transition() .duration(_configHolder.transition) - .attr('transform', (d)=>(`rotate(${d.data.hasChildren() ? 45 : 0})`)) - .attr('transform-origin', 0) .attr('opacity', (d)=>(d.data.getClusterMemberspecEntity(PREDICATE_MEMBERSPEC).hasIcon() ? 1 : 0)) .attr('xlink:href', (d)=>(d.data.getClusterMemberspecEntity(PREDICATE_MEMBERSPEC).icon)); }
