diff --git a/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml b/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml index 501434696..8f3cafc4b 100644 --- a/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml +++ b/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml @@ -3378,7 +3378,8 @@ + Orientation="Horizontal" + ext:UIElementExtensions.CursorType="Hand"> diff --git a/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs b/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs index 6a6924441..e6105ce85 100644 --- a/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs +++ b/CollapseLauncher/XAMLs/MainApp/Pages/SettingsPage.xaml.cs @@ -777,11 +777,20 @@ private async void SelectBackgroundImg(object sender, RoutedEventArgs e) await ImageBackgroundManager.Shared.SetGlobalCustomBackground(file); } - private int _eggsAttempt = 1; - private void Egg(object sender, PointerRoutedEventArgs e) + private int _dedicationClicksRemaining = 10; + private void RevealDedication(object sender, PointerRoutedEventArgs e) { - if (_eggsAttempt++ >= 10) - HerLegacy.Visibility = Visibility.Visible; + if (HerLegacy.Visibility == Visibility.Visible || --_dedicationClicksRemaining != 0) + return; + + HerLegacy.Visibility = Visibility.Visible; + HerLegacy.UpdateLayout(); + HerLegacy.StartBringIntoView(new BringIntoViewOptions + { + AnimationDesired = true, + VerticalAlignmentRatio = 0, + VerticalOffset = SettingsSearchBoxGrid.ActualHeight + }); } private void EnableHeaderMouseEvent(object sender, RoutedEventArgs e)