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 62486b7..bad26b4 100644 --- a/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs @@ -20,7 +20,7 @@ namespace UVtools.WPF.Controls.Tools private byte _genMaximumBrightness = byte.MaxValue; private uint _genDiameter; private Bitmap _maskImage; - public OperationMask Operation { get; } + public OperationMask Operation => BaseOperation as OperationMask; public bool IsMaskInverted { @@ -69,7 +69,7 @@ namespace UVtools.WPF.Controls.Tools public ToolMaskControl() { InitializeComponent(); - BaseOperation = Operation = new OperationMask(); + BaseOperation = new OperationMask(); } private void InitializeComponent() |