diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs index bd389d6..c368acf 100644 --- a/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs @@ -28,7 +28,7 @@ namespace UVtools.WPF.Controls.Tools set { if(!RaiseAndSetIfChanged(ref _isMaskInverted, value)) return; - if (!Operation.HaveMask) return; + if (!Operation.HaveInputMask) return; Operation.InvertMask(); MaskImage = Operation.Mask.ToBitmap(); } @@ -62,7 +62,7 @@ namespace UVtools.WPF.Controls.Tools { if(!RaiseAndSetIfChanged(ref _maskImage, value)) return; RaisePropertyChanged(nameof(InfoMaskResolutionStr)); - ParentWindow.ButtonOkEnabled = Operation.HaveMask; + ParentWindow.ButtonOkEnabled = Operation.HaveInputMask; } } |