Remove unused code
This commit is contained in:
parent
c879e852ed
commit
28082808a8
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user