Skip to content

Conversation

@radderz
Copy link
Contributor

@radderz radderz commented Jul 4, 2023

Fix SVG to have a view box based on the encoding size and enable scaling to be handled by the Width/Height and the renderer (browser).

This improves the central positioning of a QR Code. Before the QR Code, depending on the size of the encoded value, would have different padding on the right/bottom since the scaling was all in integers.

…ing to be handled by the Width/Height and the renderer (browser).

This improves the central positioning of QR Code, before the QR Code depending on the size of the encoded value would have different padding on the right/bottom since the scaling was all in integers.
@mckaragoz mckaragoz merged commit 2a8a8a3 into CodeBeamOrg:dev Jul 6, 2023
@mckaragoz
Copy link
Contributor

I noticed this visual bug, but can't find time to look this deeper, thanks 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants