Skip to content

Commit 838d6c5

Browse files
committed
Remove Left Positioning Code in animation
1 parent 42f1b57 commit 838d6c5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -261,21 +261,11 @@ public void WindowAnimator()
261261
Duration = TimeSpan.FromSeconds(0.18),
262262
FillBehavior = FillBehavior.Stop
263263
};
264-
265-
var da3 = new DoubleAnimation
266-
{
267-
From = Left,
268-
To = Left,
269-
Duration = TimeSpan.FromSeconds(0.18),
270-
FillBehavior = FillBehavior.Stop
271-
};
272264
Storyboard.SetTarget(da, this);
273265
Storyboard.SetTargetProperty(da, new PropertyPath(Window.OpacityProperty));
274266
Storyboard.SetTargetProperty(da2, new PropertyPath(Window.TopProperty));
275-
Storyboard.SetTargetProperty(da3, new PropertyPath(Window.LeftProperty));
276267
sb.Children.Add(da);
277268
sb.Children.Add(da2);
278-
sb.Children.Add(da3);
279269
sb.Completed += (_, _) => _animating = false;
280270
sb.Begin(FlowMainWindow);
281271
}

0 commit comments

Comments
 (0)