Skip to content

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

Open
kvii wants to merge 1 commit intogo-rod:mainfrom
kvii:pr_el_screenshot
Open

fix: element screenshot is incorrect when DevicePixelRatio != 1 #1198#1200
kvii wants to merge 1 commit intogo-rod:mainfrom
kvii:pr_el_screenshot

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