diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolLayerCloneControl.axaml.cs | 4 |
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)); |