HCSStarRatingView icon indicating copy to clipboard operation
HCSStarRatingView copied to clipboard

Fix intrinsicContentSize dependence on custom images.

Open DanSkeel opened this issue 9 years ago • 3 comments

Before the fix custom images were scaled to match fixed 44 point height. Now intrinsicContentSize depends on size of custom image to prevent image scaling.

Hi. I hope I don't miss anything, but it works for me.

DanSkeel avatar Aug 25 '16 19:08 DanSkeel

Probably it's a bad idea, because a tappable area may become less than 44 points. So there should be other solution for custom sized "stars"

DanSkeel avatar Aug 26 '16 13:08 DanSkeel

  1. Images less than 44 pt won't scale
  2. height of ratingView will match the size of custom images but it won't be less than 44 pts.

DanSkeel avatar Aug 26 '16 15:08 DanSkeel

Oh, forgot to mention in the review but: Thanks for this! 😄

hsousa avatar Nov 05 '16 20:11 hsousa