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/FileFormats/ChituboxFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ChituboxFile.cs16
1 files changed, 9 insertions, 7 deletions
diff --git a/UVtools.Core/FileFormats/ChituboxFile.cs b/UVtools.Core/FileFormats/ChituboxFile.cs
index f317809..ab86e58 100644
--- a/UVtools.Core/FileFormats/ChituboxFile.cs
+++ b/UVtools.Core/FileFormats/ChituboxFile.cs
@@ -904,7 +904,7 @@ namespace UVtools.Core.FileFormats
#endregion
- #region KeyRing
+ #region KeyRing
public class KeyRing
{
@@ -1026,9 +1026,11 @@ namespace UVtools.Core.FileFormats
- public override byte ThumbnailsCount { get; } = 2;
-
- public override Size[] ThumbnailsOriginalSize { get; } = {new Size(400, 300), new Size(200, 125)};
+ public override Size[] ThumbnailsOriginalSize { get; } =
+ {
+ new(400, 300),
+ new(200, 125)
+ };
public override uint ResolutionX
{
@@ -1070,10 +1072,10 @@ namespace UVtools.Core.FileFormats
}
}
- public override float MaxPrintHeight
+ public override float MachineZ
{
- get => HeaderSettings.BedSizeZ > 0 ? HeaderSettings.BedSizeZ : base.MaxPrintHeight;
- set => base.MaxPrintHeight = HeaderSettings.BedSizeZ = (float)Math.Round(value, 2);
+ get => HeaderSettings.BedSizeZ > 0 ? HeaderSettings.BedSizeZ : base.MachineZ;
+ set => base.MachineZ = HeaderSettings.BedSizeZ = (float)Math.Round(value, 2);
}
public override bool MirrorDisplay