am 8d170421
: Merge "Fix wrong condition."
* commit '8d1704215e80ebec61f6d77c503d83b32d881096': Fix wrong condition.
This commit is contained in:
@ -130,7 +130,7 @@ final class IconUtilities {
|
||||
int sourceWidth = icon.getIntrinsicWidth();
|
||||
int sourceHeight = icon.getIntrinsicHeight();
|
||||
|
||||
if (sourceWidth > 0 && sourceWidth > 0) {
|
||||
if (sourceWidth > 0 && sourceHeight > 0) {
|
||||
// There are intrinsic sizes.
|
||||
if (width < sourceWidth || height < sourceHeight) {
|
||||
// It's too big, scale it down.
|
||||
|
Reference in New Issue
Block a user