Skip to content

Commit 1a8c521

Browse files
committed
Slide animation
1 parent afb1bc7 commit 1a8c521

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -314,20 +314,20 @@
314314
From="0"
315315
To="1.0"
316316
Duration="0:0:0.270" />
317-
<animations:ScaleAnimation
318-
From="0.95"
319-
To="1"
317+
<animations:TranslationAnimation
318+
From="24,0,0"
319+
To="0,0,0"
320320
Duration="0:0:0.280" />
321321
</animations:Implicit.ShowAnimations>
322322
<animations:Implicit.HideAnimations>
323323
<animations:OpacityAnimation
324324
From="1.0"
325325
To="0"
326326
Duration="0:0:0.180" />
327-
<animations:ScaleAnimation
328-
From="1"
329-
To="0.95"
330-
Duration="0:0:0.280" />
327+
<animations:TranslationAnimation
328+
From="0,0,0"
329+
To="24,0,0"
330+
Duration="0:0:0.220" />
331331
</animations:Implicit.HideAnimations>
332332
<Grid Margin="12">
333333
<Grid.RowDefinitions>

0 commit comments

Comments
 (0)