mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixes issue#2112
This commit is contained in:
parent
1e90ff2d5f
commit
e441d78720
@ -37,6 +37,9 @@ namespace Wabbajack.Lib.ModListRegistry
|
|||||||
|
|
||||||
[JsonProperty("utility_list")]
|
[JsonProperty("utility_list")]
|
||||||
public bool UtilityList { get; set; }
|
public bool UtilityList { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("image_contains_title")]
|
||||||
|
public bool ImageContainsTitle { get; set; }
|
||||||
|
|
||||||
[JsonProperty("force_down")]
|
[JsonProperty("force_down")]
|
||||||
public bool ForceDown { get; set; }
|
public bool ForceDown { get; set; }
|
||||||
|
@ -36,12 +36,17 @@ namespace Wabbajack
|
|||||||
.Select(p => p.Value)
|
.Select(p => p.Value)
|
||||||
.BindToStrict(this, x => x.DownloadProgressBar.Value)
|
.BindToStrict(this, x => x.DownloadProgressBar.Value)
|
||||||
.DisposeWith(dispose);
|
.DisposeWith(dispose);
|
||||||
this.WhenAny(x => x.ViewModel.Metadata.Title)
|
this.WhenAny(x => x.ViewModel.Metadata)
|
||||||
|
.Where(x => !x.ImageContainsTitle)
|
||||||
|
.Select(x => x.Title)
|
||||||
.BindToStrict(this, x => x.DescriptionTextShadow.Text)
|
.BindToStrict(this, x => x.DescriptionTextShadow.Text)
|
||||||
.DisposeWith(dispose);
|
.DisposeWith(dispose);
|
||||||
this.WhenAny(x => x.ViewModel.Metadata.Title)
|
this.WhenAny(x => x.ViewModel.Metadata)
|
||||||
|
.Where(x => !x.ImageContainsTitle)
|
||||||
|
.Select(x => x.Title)
|
||||||
.BindToStrict(this, x => x.ModListTitleShadow.Text)
|
.BindToStrict(this, x => x.ModListTitleShadow.Text)
|
||||||
.DisposeWith(dispose);
|
.DisposeWith(dispose);
|
||||||
|
|
||||||
this.WhenAny(x => x.ViewModel.IsBroken)
|
this.WhenAny(x => x.ViewModel.IsBroken)
|
||||||
.Select(x => x ? Visibility.Visible : Visibility.Collapsed)
|
.Select(x => x ? Visibility.Visible : Visibility.Collapsed)
|
||||||
.BindToStrict(this, x => x.Overlay.Visibility)
|
.BindToStrict(this, x => x.Overlay.Visibility)
|
||||||
|
Loading…
Reference in New Issue
Block a user