Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:修复使用imgSrc传入图片高分屏下图片显示小的问题 #148

Closed
wants to merge 1 commit into from

Conversation

miludedeng
Copy link

修复bug #147
在图片容器中加入宽高属性

@likaia
Copy link
Owner

likaia commented Feb 6, 2024

非常感谢,我过几天测一下试试,今天在收拾行李,准备回家了。

@@ -1399,6 +1399,8 @@ export default class ScreenShot {
const imgContainer = new Image();

imgContainer.src = imgSrc;
imgContainer.width = this.screenShotImageController.width;
imgContainer.width = this.screenShotImageController.height;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这里写错了

@likaia
Copy link
Owner

likaia commented Feb 10, 2024

这个我先关闭了哈,我调整下你这里的改法代码,发个版本出来。

@likaia likaia closed this Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants