mnahkies / ng-qrcode

Easy to use AOT compatible QR code generator for Angular projects.
https://mnahkies.github.io/ng-qrcode/
MIT License
53 stars 10 forks source link

fix: re-draw already loaded center images on change #71

Closed mnahkies closed 1 year ago

mnahkies commented 1 year ago

previously if the image was already loaded, changing the value of the QR code would make it disappear.

this change fixes that by immediately drawing the image if the complete property is true

may help with #64 - although as reported that was essentially the reverse of this situation :/

ref: