1
0
Fork 0

[plugin-annotations] fix: Logo position tweaked (#202)

Closes #140
The shared path causes the logo to be offset differently so to fix this making a slight tweak to the translate.
Before
![389739047-89fac76a-a197-47ca-a4e2-32b5235a4ecb](/attachments/07f82d21-fd50-45ca-bf46-7833e719fc10)
After
![389739085-2c98ff55-ec79-494a-bc52-f3a56b4fa802](/attachments/0f6c09e4-c8b6-42c6-a622-2779e4595c7d)

Designs after Oct 2023 will have used the incorrect one so may need tweaking down the line.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/202
Co-authored-by: bobgeorgethe3rd <bobgeorgethe3rd@googlemail.com>
Co-committed-by: bobgeorgethe3rd <bobgeorgethe3rd@googlemail.com>
This commit is contained in:
bobgeorgethe3rd 2025-04-06 14:40:37 +00:00 committed by Joost De Cock
parent b6ab7517c1
commit d5d1e2cdce

View file

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