xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.7k stars 95 forks source link

fix: consider devicePixelRatio when scaling icons #1751

Closed shenlebantongying closed 2 months ago

shenlebantongying commented 2 months ago

@KonstantinDjairo I think this will fix the problem now.

For high density screens, more pixels are needed for the same logical size.

amend https://github.com/xiaoyifang/goldendict-ng/pull/1750

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

KonstantinDjairo commented 2 months ago

tested here and now it looks awesome image