Skip to content

Commit

Permalink
Remove redundant casting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BDisp committed Aug 26, 2023
1 parent ff1f6f8 commit 2edd932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Design.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ public Design CreateSubControlDesign(string name, View subView)
super.Remove(subView);
if (subView.Border != null)
{
subView.Border.BorderBrush = (Color)borderBrush!;
subView.Border.Background = (Color)background!;
subView.Border.BorderBrush = borderBrush!;
subView.Border.Background = background!;
}
}

Expand Down

0 comments on commit 2edd932

Please sign in to comment.