You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would one go about allowing for a button image to be updated? Imagine a state: on/off - off having a different image or a just an image with some opacity. Or even a button with a series of states.
If you can point me in the right direction, I will happily code it up and submit a pull request.
Thank you again and cheers!
The text was updated successfully, but these errors were encountered:
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.
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!
Great control, thank you for it!
How would one go about allowing for a button image to be updated? Imagine a state: on/off - off having a different image or a just an image with some opacity. Or even a button with a series of states.
If you can point me in the right direction, I will happily code it up and submit a pull request.
Thank you again and cheers!
The text was updated successfully, but these errors were encountered: