@aurigma/design-atoms-text
Advanced tools
Comparing version 7.1.12 to 7.1.13
@@ -58,4 +58,6 @@ import { Path } from "@aurigma/design-atoms-model/Math/Path"; | ||
export function getPathLastPoint(path) { | ||
const lastSegment = path.segments[path.segments.length - 1]; | ||
let lastSegment = path.segments[path.segments.length - 1]; | ||
if (lastSegment.name == "Z") | ||
lastSegment = path.segments[path.segments.length - 2]; | ||
return lastSegment.getPoint(lastSegment.length - 1); | ||
} |
{ | ||
"name": "@aurigma/design-atoms-text", | ||
"version": "7.1.12", | ||
"version": "7.1.13", | ||
"description": "", | ||
@@ -82,3 +82,3 @@ "main": "dist/index.js", | ||
"@aurigma/design-atoms-model": "7.0.10", | ||
"@aurigma/text-whizz": "1.6.36", | ||
"@aurigma/text-whizz": "1.7.25", | ||
"@xmldom/xmldom": "0.7.7" | ||
@@ -85,0 +85,0 @@ }, |
@@ -70,4 +70,7 @@ import * as TextWhizz from "@aurigma/text-whizz/TextWhizzJS"; | ||
export function getPathLastPoint(path: Path): PointF { | ||
const lastSegment = path.segments[path.segments.length-1]; | ||
let lastSegment = path.segments[path.segments.length-1]; | ||
if (lastSegment.name == "Z") | ||
lastSegment = path.segments[path.segments.length-2]; | ||
return lastSegment.getPoint(lastSegment.length-1); | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1303904
30200
+ Added@aurigma/text-whizz@1.7.25(transitive)
- Removed@aurigma/text-whizz@1.6.36(transitive)
Updated@aurigma/text-whizz@1.7.25