Typo in MapCalloutDrawable #23

Closed
MikolajKakol opened this Issue Nov 13, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

MikolajKakol commented Nov 13, 2012

Hi,

in MapCalloutDrawable.java you have method in which you are getting mLeftCapDrawable width rather than height

@Override
public int getIntrinsicHeight() {
    return Math.max(mLeftCapDrawable.getIntrinsicWidth(),
            Math.max(mBottomAnchorDrawable.getIntrinsicHeight(), mRightCapDrawable.getIntrinsicHeight()));
}
Owner

cyrilmottier commented Nov 13, 2012

Definitely a bug! Thank you. Any pull request would be highly appreciated :)

Contributor

MikolajKakol commented Nov 13, 2012

I've added pull request.

Owner

cyrilmottier commented Mar 7, 2013

Will be merged in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment