diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationCalculator.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationCalculator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/Operations/OperationCalculator.cs b/UVtools.Core/Operations/OperationCalculator.cs index 68aa251..d4c0384 100644 --- a/UVtools.Core/Operations/OperationCalculator.cs +++ b/UVtools.Core/Operations/OperationCalculator.cs @@ -390,7 +390,7 @@ namespace UVtools.Core.Operations get => _layerHeight; set { - if (!RaiseAndSetIfChanged(ref _layerHeight, value)) return; + if (!RaiseAndSetIfChanged(ref _layerHeight, Layer.RoundHeight(value))) return; RaisePropertyChanged(nameof(XYResolution)); RaisePropertyChanged(nameof(XYResolutionUm)); RaisePropertyChanged(nameof(TiltAngleDegrees)); |