예제 #1
0
 private void HandleBorderNodeBoundsChanges(BoundsChangeMerger <BorderNode> boundsChanges)
 {
     foreach (var change in boundsChanges)
     {
         ViewElementOverlapHelper.PreventBorderNodeOverlap(change.TargetElement.Structure);
     }
     CoreBatchRule.HandleBorderNodeChanges <Loop>(boundsChanges);
 }
        private void HandleBorderNodeBoundsChanges(BoundsChangeMerger <BorderNode> boundsChanges)
        {
            foreach (var change in boundsChanges)
            {
                var borderNode = change.TargetElement;
                if (borderNode.Structure is Loop)
                {
                    ViewElementOverlapHelper.PreventBorderNodeOverlap(borderNode.Structure, g => ViewElementOverlapHelper.PreventBorderNodeOverlap(g));
                }
            }

            CoreBatchRule.HandleBorderNodeChanges <Loop>(boundsChanges);
        }