resolve comment icons

This commit is contained in:
2026-06-15 10:13:22 +02:00
parent 9dbd8f7952
commit 3090711892
7 changed files with 19 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
using EnvelopeGenerator.WebUI.Client.Models.Constants;
using EnvelopeGenerator.WebUI.Client.Models.Constants;
namespace EnvelopeGenerator.WebUI.Client.Models;
@@ -58,8 +58,8 @@ public class SignatureDto
// LegacyFormApp uses GdPicture14 with INCHES
return _unitOfLength switch
{
UnitOfLength.Inch => 1.0, // No conversion needed: INCHES ? INCHES
UnitOfLength.Point => 72.0, // INCHES ? PDF Points: 1 inch = 72 points (PDF standard, NOT pixels!)
UnitOfLength.Inch => 1.0, // No conversion needed: INCHES INCHES
UnitOfLength.Point => 72.0, // INCHES PDF Points: 1 inch = 72 points (PDF standard, NOT pixels!)
_ => throw new InvalidOperationException(
$"Unknown UnitOfLength: {_unitOfLength}. Expected '{nameof(UnitOfLength.Inch)}' or '{nameof(UnitOfLength.Point)}'.")
};
@@ -98,4 +98,4 @@ public static class SignatureDtoExtensions
return signatures;
}
}
}