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/ToolLayerCloneControl.axaml.cs')
-rw-r--r--UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs
index a394fa5..bbc7776 100644
--- a/UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs
+++ b/UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs
@@ -6,7 +6,7 @@ namespace UVtools.WPF.Controls.Tools
{
public class ToolLayerCloneControl : ToolControl
{
- public OperationLayerClone Operation { get; }
+ public OperationLayerClone Operation => BaseOperation as OperationLayerClone;
public uint ExtraLayers => (uint)Math.Max(0, ((int)Operation.LayerIndexEnd - Operation.LayerIndexStart + 1) * Operation.Clones);
@@ -31,7 +31,7 @@ namespace UVtools.WPF.Controls.Tools
public ToolLayerCloneControl()
{
InitializeComponent();
- BaseOperation = Operation = new OperationLayerClone();
+ BaseOperation = new OperationLayerClone();
Operation.PropertyChanged += (sender, args) =>
{
RaisePropertyChanged(nameof(InfoLayersStr));