Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AndroidDrawablePainter (#110)
* Update AndroidDrawablePainter - Fixes instrinsic size using width for height - Now works with Drawables which change intrinsic size (hello LottieDrawable) - Now properly scales drawables as per ContentScale (through the canvas size) * Don't scale if the drawable has no intrinsic size
- Loading branch information
1 parent
93df993
commit 4cf088f
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters