commit | 47e1cf3d6b79e80392a33f25304ee977af995a8f | [log] [tgz] |
---|---|---|
author | Danny Lin <danny@kdrag0n.dev> | Wed May 05 16:34:21 2021 -0700 |
committer | Ayan Mukherjee <mukherjeeayan725@gmail.com> | Wed Aug 04 10:45:04 2021 -0400 |
tree | 8d6a4f4b701912f75797ba272df041c6089e0d7a | |
parent | 26ce6766602b6f514b4a9d686682cd0e5c396f16 [diff] |
overlay: Define blur radius in device-independent pixels Specifying the blur radius in pixels leads to inconsistent results across devices with different pixel densities. With a Pixel 4 XL (1440x3040) as the reference display (3.5x scale factor), 175 px is more or less the amount of blur we want, but it's too strong on the Pixel 5 (1080x2340). Define the blur radius in device-independent pixels (calculated from the reference display described above) to make the strength uniform.