We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6e7b7 commit 37c51beCopy full SHA for 37c51be
src/main.ts
@@ -1399,6 +1399,8 @@ export default class ScreenShot {
1399
const imgContainer = new Image();
1400
1401
imgContainer.src = imgSrc;
1402
+ imgContainer.width = this.screenShotImageController.width;
1403
+ imgContainer.height = this.screenShotImageController.height;
1404
imgContainer.crossOrigin = "Anonymous";
1405
imgContainer.onload = () => {
1406
// 装载截图的dom为null则退出
0 commit comments