refactor(BurnPdfCommandHandler): rename AddInstantJSONAnnotationToPdf to AddInstantJsonAnnotationToPdf for consistent casing

This commit is contained in:
tekh 2025-11-07 13:16:14 +01:00
parent d237b4ab95
commit e21eb2c0d6

View File

@ -313,7 +313,10 @@ public class BurnPdfCommandHandler : IRequestHandler<BurnPdfCommand>
return; return;
// Convert pixels to Inches // Convert pixels to Inches
var oBounds = pAnnotation.Bbox.Select(ToInches).ToList(); var oBounds = pAnnotation.Bbox?.Select(ToInches).ToList();
if (oBounds is null || oBounds.Count < 4)
return;
var oX = oBounds[0]; var oX = oBounds[0];
var oY = oBounds[1]; var oY = oBounds[1];