mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:12:46 +08:00
cfb81b7895
chromium may report float device pixel ratio below 1.5 that is still clearly retina: ``` window.devicePixelRatio 1.4999998807907104 ``` We used to round this down to 1 and not provide these browsers with retina avatars. New algorithm is much more forgiving, anything over 1.1 gets 2x images, anything over 2.1 gets 3x images. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |