Comments (3)
Hi Justin,
Thank you for choosing fan-menu. I will check the easiest way how to achieve it and will back to you.
from fan-menu.
Hi @justinwhite2,
Thanks again for using fan-menu!
I checked the code and I realized that there is no "selected" state for the button in the current implementation. If you select some button from the menu, the menu is closing.
But you can quickly extend fan-menu. Fan-menu based on the Macaw library. If you didn't hear about that here is a good place to start.
Technical details about fan-menu that can be helpful for you:
- FanMenuScene class is responsible how the menu is looking and behaves
- createFanButtonNode describes how each button of the menu looks like. It is a circle and image for now.
- updateState is starting close or open animation
Feel free to contact me if you will have any questions about Fan-menu or Macaw. If your changes would be helpful for other users, we can include your changes in the main project. Good luck!
from fan-menu.
I hope this solution helped you. Closing this issue for now. Please let me know if any questions remain.
from fan-menu.
Related Issues (20)
- Minimum deployment target HOT 3
- XCode update to 10.2 crashes with "This coder requires that replaced objects be returned from initWithCoder:" HOT 1
- Delegate not called HOT 2
- Background circle reduce to half HOT 3
- Change center button image on click on it. HOT 1
- FanMenu inside toolBar? HOT 1
- Possible tint on button
- elements underneath not accessible HOT 2
- Change items array and re render HOT 9
- Cannot use a single menu item. HOT 1
- Allowing buttons to show outside view HOT 1
- semanticContentAttribute not changing for arabic language HOT 1
- Xcode 11.4 / Swift 5.2 HOT 6
- Support swift package manager HOT 2
- incomplete warning HOT 3
- How do I set the size of the first icon? HOT 4
- add method so we can change the image of FanMenuButton HOT 2
- Use with SwiftUI HOT 2
- fanMenu.onItemWillClick doesn't call when click on fan menu button items HOT 2
- Sorry to use this but this is the only way I can message you I donβt have your Twitter or discord or phone number HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fan-menu.