After subclassing to overlay a logo, I encountered massive images when using options->drawCircularModules
This was caused by scaling in underlying QrGdImage that doesn't reset underlying values.
Proposed changes
Add in an a call to setMatrixDimensions() immediately after toggling upscaled back to false.
This should be a low cost way to reset the length and scale values to allow subclasses to use the output of dump()
Types of changes
What types of changes does your code introduce?
[x] Bugfix (non-breaking change which fixes an issue)
Checklist:
[x] I have checked to ensure there aren't other open Issues or Pull Requests for the same update/change
After subclassing to overlay a logo, I encountered massive images when using options->drawCircularModules This was caused by scaling in underlying QrGdImage that doesn't reset underlying values.
Proposed changes
Add in an a call to setMatrixDimensions() immediately after toggling upscaled back to false. This should be a low cost way to reset the length and scale values to allow subclasses to use the output of dump()
Types of changes
What types of changes does your code introduce?
Checklist: