diff --git a/Wabbajack/View Models/InstallerVM.cs b/Wabbajack/View Models/InstallerVM.cs index 1e7154a9..c574ccfd 100644 --- a/Wabbajack/View Models/InstallerVM.cs +++ b/Wabbajack/View Models/InstallerVM.cs @@ -86,6 +86,9 @@ namespace Wabbajack private readonly ObservableAsPropertyHelper _Summary; public string Summary => _Summary.Value; + private readonly ObservableAsPropertyHelper _ShowTextShadow; + public bool ShowTextShadow => _ShowTextShadow.Value; + // Command properties public IReactiveCommand BeginCommand { get; } public IReactiveCommand ShowReportCommand { get; } @@ -226,6 +229,15 @@ namespace Wabbajack resultSelector: (modList, mod, installing) => installing ? mod : modList) .ToProperty(this, nameof(this.Summary)); + this._ShowTextShadow = this.WhenAny(x => x.Image) + .Select(image => + { + if (image == null) return false; + if (image == this.WabbajackLogo) return false; + return true; + }) + .ToProperty(this, nameof(ShowTextShadow)); + // Define commands this.ShowReportCommand = ReactiveCommand.Create(ShowReport); this.OpenReadmeCommand = ReactiveCommand.Create( diff --git a/Wabbajack/Views/InstallationView.xaml b/Wabbajack/Views/InstallationView.xaml index 1bab2f38..4edac7a9 100644 --- a/Wabbajack/Views/InstallationView.xaml +++ b/Wabbajack/Views/InstallationView.xaml @@ -16,6 +16,7 @@ #DF000000