mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #1224 from wabbajack-tools/make-gallery-title-optional
Fixes issue#2112
This commit is contained in:
commit
65a8372ab3
@ -37,6 +37,9 @@ namespace Wabbajack.Lib.ModListRegistry
|
||||
|
||||
[JsonProperty("utility_list")]
|
||||
public bool UtilityList { get; set; }
|
||||
|
||||
[JsonProperty("image_contains_title")]
|
||||
public bool ImageContainsTitle { get; set; }
|
||||
|
||||
[JsonProperty("force_down")]
|
||||
public bool ForceDown { get; set; }
|
||||
|
@ -36,12 +36,17 @@ namespace Wabbajack
|
||||
.Select(p => p.Value)
|
||||
.BindToStrict(this, x => x.DownloadProgressBar.Value)
|
||||
.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)
|
||||
.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)
|
||||
.DisposeWith(dispose);
|
||||
|
||||
this.WhenAny(x => x.ViewModel.IsBroken)
|
||||
.Select(x => x ? Visibility.Visible : Visibility.Collapsed)
|
||||
.BindToStrict(this, x => x.Overlay.Visibility)
|
||||
|
Loading…
Reference in New Issue
Block a user