fix progressbar animation, bug introduced in 2a3bf727be1c8bc185f1b436893b1c4385d982ac

This commit is contained in:
bao-qian 2016-05-29 22:13:53 +01:00
parent 7d3617c27f
commit 7d674b44d3

View File

@ -48,7 +48,6 @@ namespace Wox
private void OnLoaded(object sender, RoutedEventArgs _) private void OnLoaded(object sender, RoutedEventArgs _)
{ {
InitProgressbarAnimation();
WindowIntelopHelper.DisableControlBox(this); WindowIntelopHelper.DisableControlBox(this);
ThemeManager.Instance.ChangeTheme(_settings.Theme); ThemeManager.Instance.ChangeTheme(_settings.Theme);
InitializeNotifyIcon(); InitializeNotifyIcon();
@ -202,6 +201,7 @@ namespace Wox
{ {
Left = WindowLeft(); Left = WindowLeft();
Top = WindowTop(); Top = WindowTop();
InitProgressbarAnimation();
} }
private double WindowLeft() private double WindowLeft()