Exemple #1
0
        protected override void PopOut()
        {
            base.PopOut();

            content.ScaleTo(0.99f, 400, Easing.OutQuint);

            if (overlayActivationMode != null)
            {
                // If this is non-null we are guaranteed to have come from the main menu.
                overlayActivationMode.Value = OverlayActivation.All;
                overlayActivationMode       = null;
            }

            if (currentStepIndex != null)
            {
                notificationOverlay.Post(new SimpleNotification
                {
                    Text      = FirstRunSetupOverlayStrings.ClickToResumeFirstRunSetupAtAnyPoint,
                    Icon      = FontAwesome.Solid.Redo,
                    Activated = () =>
                    {
                        Show();
                        return(true);
                    },
                });
            }
            else
            {
                stack?.FadeOut(100)
                .Expire();
            }
        }
Exemple #2
0
        protected override void PopOut()
        {
            base.PopOut();

            content.ScaleTo(0.99f, 400, Easing.OutQuint);

            if (currentStepIndex != null)
            {
                notificationOverlay.Post(new SimpleNotification
                {
                    Text      = FirstRunSetupOverlayStrings.ClickToResumeFirstRunSetupAtAnyPoint,
                    Icon      = FontAwesome.Solid.Redo,
                    Activated = () =>
                    {
                        Show();
                        return(true);
                    },
                });
            }
            else
            {
                stack?.FadeOut(100)
                .Expire();
            }
        }