Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs')
-rw-r--r--UVtools.WPF/Controls/Tools/ToolMaskControl.axaml.cs4
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()