canvacord
Advanced tools
Comparing version 5.4.2 to 5.4.3
{ | ||
"name": "canvacord", | ||
"version": "5.4.2", | ||
"version": "5.4.3", | ||
"description": "Powerful image manipulation package for beginners.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -629,7 +629,7 @@ const Canvas = require("@napi-rs/canvas"); | ||
if (rx <= 0) return 1; | ||
if (cx > rx) return this.data.progressBar.width; | ||
if (cx > rx) return parseInt(this.data.progressBar.width) || 0; | ||
let width = (cx * 615) / rx; | ||
if (width > this.data.progressBar.width) width = this.data.progressBar.width; | ||
return width; | ||
return parseInt(width) || 0; | ||
} | ||
@@ -636,0 +636,0 @@ |
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
201494