-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with BevyS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled
Description
What problem does this solve or what need does it fill?
This was a request by a user on discord to change the mouse cursor to the "not allowed" shape when the widget is disabled.
What solution would you like?
The solution is relatively trivial: just inserting the proper EntityCursor
when the widget is disabled. There's already a function for each widget which modifies the widget's appearance based on whether it's disabled, we just need to include the cursor shape in the set of components affected.
What alternative(s) have you considered?
The alternative is to not do this. The 'not allowed' cursor isn't particularly pretty, and the visual appearance of disabled widgets is pretty clear.
Additional context
Because this task is so easy, and because of it's low priority, I had been saving it as a starter task for someone new to working on Bevy.
Metadata
Metadata
Assignees
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possibleA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with BevyS-Needs-TriageThis issue needs to be labelledThis issue needs to be labelled