Update FocalPointPosition and CropCoordinates constructors/properties

This commit is contained in:
Ronald Barendse
2021-08-10 17:20:03 +02:00
parent 766530fcd3
commit 22814036a1
6 changed files with 17 additions and 17 deletions

View File

@@ -120,7 +120,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
if (focalPointLeft.HasValue && focalPointTop.HasValue)
{
options.FocalPoint = new ImageUrlGenerationOptions.FocalPointPosition(focalPointTop.Value, focalPointLeft.Value);
options.FocalPoint = new ImageUrlGenerationOptions.FocalPointPosition(focalPointLeft.Value, focalPointTop.Value);
}
else if (cropX1.HasValue && cropX2.HasValue && cropY1.HasValue && cropY2.HasValue)
{