XXXRoundMenuButton icon indicating copy to clipboard operation
XXXRoundMenuButton copied to clipboard

add hitTest to this library

Open simaattar opened this issue 5 years ago • 5 comments

Hi, I'm trying to use this fabulous library with a large radius, in a way that icons would locate outside of the parent view, And as a result, they can't be clicked!!! how can I add HitTest function to this??

simaattar avatar Jul 01 '19 10:07 simaattar

how large? could you give me the value or screenshot

zsy78191 avatar Jul 04 '19 11:07 zsy78191

Hi. Thanks for your quick response. I need a radius of 155 for icons, and I want the rounded circle to be 150*150. Actually I need the icons to locate outside of the rounded circle. Thanx.

simaattar avatar Jul 04 '19 12:07 simaattar

I suggest you modify the source code and set the background circle to a transparent color to achieve the effect. It is not recommended that you put the button outside the radius.

zsy78191 avatar Jul 04 '19 12:07 zsy78191

Well, I have set a picture as the background of the rounded circle, so it doesn't look good if icons locate inside that, since they cover the picture... Isn't it possible for you to modify the hittest function? I can't do this since I'm not familiar with objective-c. I would really appreciate your help.

simaattar avatar Jul 04 '19 12:07 simaattar

I still don't quite understand your specific needs. If it is convenient, I suggest that you write a small demo that can't be sent to github. I try to improve on your demo. Although I won't swift, I think it might be easier for me to understand your needs.

zsy78191 avatar Jul 05 '19 05:07 zsy78191