fixed a bug of Loading

Storyboard will not pause if IsRunning is asigned a value of false in xaml
This commit is contained in:
NaBian committed 2021-03-30 00:05:24 +08:00
1 parent 7cc4640bb2
commit 04eb5cf73a
2 files changed
+8

No files matched your search

@@ -180,6 +180,10 @@ namespace HandyControl.Controls
}
Storyboard.Begin();
if (!IsRunning)
{
Storyboard.Pause();
}
}
private Border CreateBorder(int index, double dotInterval, bool needHidden)
@@ -98,6 +98,10 @@ namespace HandyControl.Controls
}
Storyboard.Begin();
if (!IsRunning)
{
Storyboard.Pause();
}
}
private Ellipse CreateEllipse(int index, double dotInterval, double dotDiameter)