Ramotion / circle-menu

:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion
https://www.ramotion.com/circle-menu-open-source-iphone-app-development-library/
MIT License
3.44k stars 357 forks source link

Enhanement request: Buttons popup just in one side #12

Closed LiborZ closed 6 years ago

LiborZ commented 8 years ago

Hi, I really like your menu and I have idea for improvement that could be very useful for me and with that I can use this control in my app. What about some option that buttons would show only in just half circle (180 degrees not full 360 degrees)? User could set if he wants to use control in left/right/bottom/down side of screen and buttons would be shown in visible area. I think the image would be best for explain this: img_3560

I made just few changes to your code to try this if it would be possible and it works great. What do you think about this? Thanks

P.s.: Are you planning to distribute your menu via Carthage too?

Nick-The-Uncharted commented 8 years ago

+1. It's rare that we will put a button at the center of screen.

A1exandre commented 8 years ago

+1 my button moves around and when it is on the side of the screen, half of the menu is out of the screen's bounds. This would solve my issue.

jasondibenedetto commented 8 years ago

+1

RigoOnRails commented 8 years ago

+1

saijunhu commented 8 years ago

+1

saijunhu commented 8 years ago

@LiborZ now i also need a 180 effect ,i want to know how change it

yannbu commented 8 years ago

+1

dancemonkey commented 8 years ago

I've been hunting through the code to try and do something similar, I'd love to know how you did this.

caesss commented 7 years ago

+1

kentonraiford commented 6 years ago

+1

0ber commented 6 years ago

48