Skip to content

Commit 791a2f0

Browse files
authored
Change to return null when ShadowDepth0 is set. (#1686)
1 parent 15073e5 commit 791a2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/Converters/ShadowEdgeConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
3131
DropShadowEffect dropShadow = ShadowInfo.GetDropShadow((ShadowDepth)values[2]);
3232
if (dropShadow == null)
3333
{
34-
return Binding.DoNothing;
34+
return null;
3535
}
3636

3737
ShadowEdges edges = (ShadowEdges)values[3];

0 commit comments

Comments
 (0)