Skip to content

Commit e15d5f6

Browse files
authored
Tweaked the animation on the widgets (#3323)
1 parent 4a6dc1a commit e15d5f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Files/UserControls/Widgets/DrivesWidget.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private void GridScaleUp(object sender, Windows.UI.Xaml.Input.PointerRoutedEvent
102102
// Search for "Scale Element".
103103
var element = sender as UIElement;
104104
var visual = ElementCompositionPreview.GetElementVisual(element);
105-
visual.Scale = new Vector3(1.03f, 1.03f, 1);
105+
visual.Scale = new Vector3(1.02f, 1.02f, 1);
106106
}
107107

108108
private void GridScaleNormal(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)

Files/UserControls/Widgets/LibraryCards.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void GridScaleUp(object sender, Windows.UI.Xaml.Input.PointerRoutedEvent
7171
// Search for "Scale Element".
7272
var element = sender as UIElement;
7373
var visual = ElementCompositionPreview.GetElementVisual(element);
74-
visual.Scale = new Vector3(1.03f, 1.03f, 1);
74+
visual.Scale = new Vector3(1.02f, 1.02f, 1);
7575
}
7676

7777
private void GridScaleNormal(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e)

0 commit comments

Comments
 (0)