fixed a bug of Loading
Storyboard will not pause if IsRunning is asigned a value of false in xaml
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user