diff options
Diffstat (limited to 'UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs')
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs index f8acf19..c342418 100644 --- a/UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolCalculatorControl.axaml.cs @@ -6,14 +6,14 @@ namespace UVtools.WPF.Controls.Tools { public class ToolCalculatorControl : ToolControl { - public OperationCalculator Operation { get; } + public OperationCalculator Operation => BaseOperation as OperationCalculator; public FileFormat SlicerFile => App.SlicerFile; public ToolCalculatorControl() { InitializeComponent(); - BaseOperation = Operation = new OperationCalculator + BaseOperation = new OperationCalculator { CalcMillimetersToPixels = new OperationCalculator.MillimetersToPixels(SlicerFile.Resolution, SlicerFile.Display), CalcLightOffDelay = new OperationCalculator.LightOffDelayC( |