This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit 9cb77994c595d96f04c08fa4ea27baf8fba32537
Author: Mykola Mandra <[email protected]>
AuthorDate: Mon Aug 9 11:32:04 2021 +0100

    Hide shadows of all nodes on exit from DSL mode
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 .../blueprint-composer/app/components/designer/designer.directive.js   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/ui-modules/blueprint-composer/app/components/designer/designer.directive.js 
b/ui-modules/blueprint-composer/app/components/designer/designer.directive.js
index 19146a2..0670cde 100644
--- 
a/ui-modules/blueprint-composer/app/components/designer/designer.directive.js
+++ 
b/ui-modules/blueprint-composer/app/components/designer/designer.directive.js
@@ -276,6 +276,9 @@ export function designerDirective($log, $state, $q, 
$rootScope, iconGenerator, c
             } else {
                 blueprintGraph.unselect();
             }
+            if (!$scope.blueprint.isInDslEdit) {
+                blueprintGraph.hideShadow();
+            }
         }
     }
 }

Reply via email to