1
0
Fork 0

logo.mjs: fix transform issues

This commit is contained in:
sohamtembhurne 2023-10-28 00:38:11 +05:30
parent cda517fd04
commit 84f1befd83

View file

@ -5,6 +5,8 @@ export const logoDefs = [
{ {
name: 'logo', name: 'logo',
def: (scale) => def: (scale) =>
`<g id="logo" transform="scale(${scale}) translate(-23 -36)"><path class="logo" stroke="none" fill="currentColor" d=${logoPath} /></g>`, `<g id="logo" transform="scale(${
2 * scale
}) translate(-23 -36)"><path class="logo" stroke="none" fill="currentColor" d="${logoPath}" /></g>`,
}, },
] ]