diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2022-02-22 18:57:39 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2022-02-22 18:57:39 +0200 |
| commit | f11a300cc013701e5c3eac2500bc3ed5fcfa310a (patch) | |
| tree | 9b63685f7812d36fcd4ded5ad2d7bafa0dda64a4 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs | |
| parent | 28fa1ab91b3fb7970d9968c5cb1d018c2b44fd69 (diff) | |
| download | Tango-f11a300cc013701e5c3eac2500bc3ed5fcfa310a.tar.gz Tango-f11a300cc013701e5c3eac2500bc3ed5fcfa310a.zip | |
Best match – to be shown only with “out of gamut”
Related Work Items: #6232
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs index 12add3d2f..3ced2962c 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs @@ -534,6 +534,16 @@ namespace Tango.PPC.Jobs.Models RaisePropertyChanged(nameof(BestMatchA)); RaisePropertyChanged(nameof(BestMatchB)); RaisePropertyChanged(nameof(BestMatchL)); + RaisePropertyChanged(nameof(ShownBestMatchColor)); + } + } + + public System.Windows.Media.Color ShownBestMatchColor + { + get { + if(IsOutOfGamut) + return _bestMatchColor; + return System.Windows.Media.Colors.Transparent; } } |
