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.Core/Operations/OperationCalculator.cs')
-rw-r--r--UVtools.Core/Operations/OperationCalculator.cs2
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));