Skip to content

Commit 2dfc2a2

Browse files
authored
Update ThemedIconLayer.Properties.cs
1 parent 1c65f91 commit 2dfc2a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Files.App.Controls/ThemedIcon/ThemedIconLayer/ThemedIconLayer.Properties.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Files.App.Controls
88
[DependencyProperty<ThemedIconLayerType>("LayerType", nameof(OnLayerTypePropertyChanged), DefaultValue = "ThemedIconLayerType.Base")]
99
[DependencyProperty<string>("PathData", nameof(OnLayerPathDataPropertyChanged), DefaultValue = "string.Empty")]
1010
[DependencyProperty<double>("LayerSize", nameof(OnLayerSizePropertyChanged), DefaultValue = "(double)16")]
11-
[DependencyProperty<Brush>("LayerColor", nameof(OnIconColorTypePropertyChanged))]
11+
[DependencyProperty<Brush>("LayerColor", nameof(OnColorPropertyChanged))]
1212
[DependencyProperty<ThemedIconColorType>("IconColorType", nameof(OnIconColorTypePropertyChanged), DefaultValue = "ThemedIconColorType.Normal")]
1313
public partial class ThemedIconLayer
1414
{
@@ -27,12 +27,12 @@ protected virtual void OnLayerSizePropertyChanged(double oldValue, double newVal
2727
LayerSizePropertyChanged(newValue);
2828
}
2929

30-
protected virtual void OnIconColorTypePropertyChanged(ThemedIconColorType oldValue , ThemedIconColorType newValue)
30+
protected virtual void OnColorPropertyChanged(Brush oldValue, Brush newValue)
3131
{
3232
IconColorTypeChanged();
3333
}
3434

35-
protected virtual void OnColorPropertyChanged(Brush oldValue , Brush newValue)
35+
protected virtual void OnIconColorTypePropertyChanged(ThemedIconColorType oldValue, ThemedIconColorType newValue)
3636
{
3737
IconColorTypeChanged();
3838
}

0 commit comments

Comments
 (0)