matrix-react-sdk
39de37b5
- *Avatar: Calculate thumbnail dimensions based on devicePixelRatio
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
8 years ago
*Avatar: Calculate thumbnail dimensions based on devicePixelRatio Multiply the dimension by the device pixel ratio and then round it to get the width/height of the thumbnail to use in the request.
References
rob/shiny-avatars
Author
superdump
Parents
3d507e98
Loading