From afe0d82696eb219a436eef6a0a5b54dead3ba635 Mon Sep 17 00:00:00 2001 From: Thomas Bouron Date: Wed, 10 Oct 2018 13:52:32 +0100 Subject: [PATCH] Fix image animation for memberspec when there are children to the cluster --- .../blueprint-composer/app/components/util/d3-blueprint.js | 2 -- 1 file changed, 2 deletions(-) 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 04e26b8ea..032e7a3bc 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)); }