Skip to content

fix: element screenshot is incorrect when DevicePixelRatio != 1 #1198 #1200

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kvii
Copy link
Contributor

@kvii kvii commented Jun 13, 2025

Development guide

Link

Test on local before making the PR

go run ./lib/utils/simple-check

fix #1198

先别急同意。我在本地倒是调试过了,确实能解决问题。但是用执行 js 来确定当前的 ratio 也太不对味了。要是实在没有别的解决方案的话我到时候再补充下测试啥的吧。

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.

[Bug] Element.Screenshot wrong when DevicePixelRatio != 1
1 participant