Open daqiude opened 5 months ago
👋 @daqiude
💖 Thanks for opening this pull request! 💖
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:
fix: don't overwrite prevent_default if default wasn't prevented
feat: add graph.scale() method
docs: graph.getShortestPath is now available
Things that will help get your PR across the finish line:
npm run lint
locally to catch formatting errors earlier.We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
b751cbf
) 62.93% compared to head (ad7092d
) 63.10%. Report is 8 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
change canvas.drawImage(video) size from clientWidth、clientHeight to videoWidth、videoHeight
Motivation and Context
To fix the problem of image deformation。for example:![image](https://github.com/bubkoo/html-to-image/assets/52031749/8ddc2ca6-1e4e-4b82-9703-4ae21ea323d5)
Types of changes
Self Check before Merge