From 59264bc0c8de9970eb22485bb9be84e30c12da90 Mon Sep 17 00:00:00 2001 From: Sylvester Knudsen Date: Mon, 8 Nov 2021 14:56:24 +0000 Subject: [PATCH] Hide border if the group has no content (#12259) --- src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml | 1 + src/DynamoCoreWpf/Views/Core/AnnotationView.xaml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml index 196f16452a4..9e590eea3a2 100644 --- a/src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml +++ b/src/DynamoCoreWpf/UI/Themes/Modern/DynamoConverters.xaml @@ -176,4 +176,5 @@ TrueBrush="{StaticResource PinnedIconForegroundColor}" /> + \ No newline at end of file diff --git a/src/DynamoCoreWpf/Views/Core/AnnotationView.xaml b/src/DynamoCoreWpf/Views/Core/AnnotationView.xaml index 107598bd28e..a55a0a51951 100644 --- a/src/DynamoCoreWpf/Views/Core/AnnotationView.xaml +++ b/src/DynamoCoreWpf/Views/Core/AnnotationView.xaml @@ -347,6 +347,7 @@ CornerRadius="{StaticResource ExpanderCornerRadius}" IsHitTestVisible="False" Canvas.ZIndex="41" + Visibility="{Binding Nodes, Converter={StaticResource ListHasMoreThanNItemsToVisibilityConverter}}" Margin="-1">