Releases: adrian-bueno/create-sticker
Releases · adrian-bueno/create-sticker
v1.2.0
Bug Fixes
- Fixed incorrect image rendering — Several
drawImagecalls used wrong offsets and sizes, causing the source image and sticker layers to be shifted, stretched, or shrunk. - Fixed race condition in sticker effect — The original image content was drawn back onto element canvases via an async
onloadcallback that was never awaited, which could result in missing or incomplete sticker output. - Fixed sticker border clipping — When no explicit
paddingis provided, it is now automatically derived fromstrokeWidthso the sticker border is no longer cut off at the canvas edges.
Other Changes
- Fixed
strokeWidthJSDoc default value (20, not 10). - Replaced
varwithletin loop declarations. - Removed dead
globalCompositeOperationcall in discrete element removal. - Fixed duplicate
platformproperty and unusedoutExtensionin ESM build config. - Corrected SPDX license identifier to
Unlicense.
v1.1.0
Fill transparent holes inside objects with strokeColor
v1.0.1
Add keywords to make the package more findable in npm
v1.0.0
First library version