This change makes logo sizes "adjust" to fit modules. The logo sizes still use "% of QR code" as the scaling unit, but they slightly adjust to prevent cut-off modules.
The second change was to make logoPadding use modules as units. So now a padding of 1 will be equivalent to removing one circle of units around the logo.
This change makes logo sizes "adjust" to fit modules. The logo sizes still use "% of QR code" as the scaling unit, but they slightly adjust to prevent cut-off modules.
The second change was to make logoPadding use modules as units. So now a padding of 1 will be equivalent to removing one circle of units around the logo.
These changes were made to solve this issue: https://github.com/Castlenine/svelte-qrcode/issues/3
Before
After