Skip to content

Commit 268faea

Browse files
committed
Made the animate argument have a default of true
1 parent 478b2be commit 268faea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/PaletteHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void ReplaceAccentColor(string name)
123123
/// <param name="newValue">The new entry value</param>
124124
/// <param name="parentDictionary">The root dictionary to start searching at. Null means using Application.Current.Resources</param>
125125
/// <returns>Weather the value was replaced (true) or not (false)</returns>
126-
private static bool ReplaceEntry(object entryName, object newValue, ResourceDictionary parentDictionary = null, bool animate)
126+
private static bool ReplaceEntry(object entryName, object newValue, ResourceDictionary parentDictionary = null, bool animate = true)
127127
{
128128
const int DURATION_MS = 500; //Change the value if needed
129129

0 commit comments

Comments
 (0)