Remove unused code

This commit is contained in:
Dev 2024-03-18 21:11:00 +00:00
parent c879e852ed
commit 28082808a8

View File

@ -155,8 +155,6 @@ export class Watermark
// Calculate size, add 10% for spacing to the right // Calculate size, add 10% for spacing to the right
const longestLength = this.text.reduce((a, b) => const longestLength = this.text.reduce((a, b) =>
{ {
const a2 = String(a).replace(/[\u0391-\uFFE5]/g, "ab");
const b2 = String(b).replace(/[\u0391-\uFFE5]/g, "ab");
return a.length > b.length ? a : b; return a.length > b.length ? a : b;
}).length * 1.1; }).length * 1.1;