@pixi/text
Advanced tools
Comparing version 7.0.4 to 7.0.5
@@ -46,3 +46,3 @@ 'use strict'; | ||
const lineHeight = style.lineHeight || fontProperties.fontSize + style.strokeThickness; | ||
let height = Math.max(lineHeight, fontProperties.fontSize + style.strokeThickness) + (lines.length - 1) * (lineHeight + style.leading); | ||
let height = Math.max(lineHeight, fontProperties.fontSize + style.strokeThickness * 2) + (lines.length - 1) * (lineHeight + style.leading); | ||
if (style.dropShadow) { | ||
@@ -49,0 +49,0 @@ height += style.dropShadowDistance; |
{ | ||
"name": "@pixi/text", | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"main": "lib/index.js", | ||
@@ -25,7 +25,7 @@ "module": "lib/index.mjs", | ||
"homepage": "http://pixijs.com/", | ||
"bugs": "https://github.com/pixijs/pixi.js/issues", | ||
"bugs": "https://github.com/pixijs/pixijs/issues", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pixijs/pixi.js.git" | ||
"url": "https://github.com/pixijs/pixijs.git" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "1d0f4da7abd7238a440f78b3661e40ced1a27614" | ||
"gitHead": "8a89713515f9dbe298484120429202534ac1f9f7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
343447