You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/08/09 10:52:37 UTC

[brooklyn-ui] 03/04: Hide shadows of all nodes on exit from DSL mode

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 <my...@cloudsoft.io>
AuthorDate: Mon Aug 9 11:32:04 2021 +0100

    Hide shadows of all nodes on exit from DSL mode
    
    Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
 .../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();
+            }
         }
     }
 }