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

            user.BindValueChanged(u =>
            {
                if (u.NewValue?.IsSupporter != true)
                {
                    backgroundSourceDropdown.SetNoticeText(UserInterfaceStrings.NotSupporterNote, true);
                }
                else
                {
                    backgroundSourceDropdown.ClearNoticeText();
                }
            }, true);
        }
Exemple #2
0
        protected override void LoadComplete()
        {
            base.LoadComplete();

            frameLimiterDropdown.Current.BindValueChanged(limit =>
            {
                switch (limit.NewValue)
                {
                case FrameSync.Unlimited:
                    frameLimiterDropdown.SetNoticeText(GraphicsSettingsStrings.UnlimitedFramesNote, true);
                    break;

                default:
                    frameLimiterDropdown.ClearNoticeText();
                    break;
                }
            }, true);
        }