merged pr

This commit is contained in:
NaBian committed 2019-07-25 23:02:21 +08:00
1 parent c500e9c1e6
commit 1739e81551
3 files changed
+10 -10

No files matched your search

@@ -210,7 +210,7 @@ namespace HandyControl.Controls
}
if (IsEnableAnimation)
{
_headerPanel.ClearValue(TabPanel.FluidMoveDurationProperty);
_headerPanel.SetCurrentValue(TabPanel.FluidMoveDurationProperty, new Duration(TimeSpan.FromMilliseconds(200)));
}
else
{
@@ -311,7 +311,7 @@ namespace HandyControl.Controls
Items.Insert(0, item);
if (IsEnableAnimation)
{
_headerPanel.ClearValue(TabPanel.FluidMoveDurationProperty);
_headerPanel.SetCurrentValue(TabPanel.FluidMoveDurationProperty, new Duration(TimeSpan.FromMilliseconds(200)));
}
else
{
@@ -154,7 +154,7 @@ namespace HandyControl.Controls
if (TabControlParent.IsEnableAnimation)
{
TabPanel.ClearValue(TabPanel.FluidMoveDurationProperty);
TabPanel.SetCurrentValue(TabPanel.FluidMoveDurationProperty, new Duration(TimeSpan.FromMilliseconds(200)));
}
else
{