mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove Left Positioning Code in animation
This commit is contained in:
parent
42f1b57427
commit
838d6c5571
1 changed files with 0 additions and 10 deletions
|
|
@ -261,21 +261,11 @@ namespace Flow.Launcher
|
|||
Duration = TimeSpan.FromSeconds(0.18),
|
||||
FillBehavior = FillBehavior.Stop
|
||||
};
|
||||
|
||||
var da3 = new DoubleAnimation
|
||||
{
|
||||
From = Left,
|
||||
To = Left,
|
||||
Duration = TimeSpan.FromSeconds(0.18),
|
||||
FillBehavior = FillBehavior.Stop
|
||||
};
|
||||
Storyboard.SetTarget(da, this);
|
||||
Storyboard.SetTargetProperty(da, new PropertyPath(Window.OpacityProperty));
|
||||
Storyboard.SetTargetProperty(da2, new PropertyPath(Window.TopProperty));
|
||||
Storyboard.SetTargetProperty(da3, new PropertyPath(Window.LeftProperty));
|
||||
sb.Children.Add(da);
|
||||
sb.Children.Add(da2);
|
||||
sb.Children.Add(da3);
|
||||
sb.Completed += (_, _) => _animating = false;
|
||||
sb.Begin(FlowMainWindow);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue