Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DisableAllControlActions.md #1172

Closed
wants to merge 1 commit into from
Closed

Conversation

Mowayyy
Copy link
Contributor

@Mowayyy Mowayyy commented Aug 23, 2024

  • Added enums instead of a hyperlink redirecting to the native ENABLE_ALL_CONTROL_ACTIONS.
  • Added CAMERA_CONTROL enum which was unknown.

Before you submit this PR, please make sure:

  • You have read the contribution guidelines
  • You include an example that validates your change
  • Your English is grammatically correct

Added enums instead of a hyperlink redirecting to the native ENABLE_ALL_CONTROL_ACTIONS.

Added CAMERA_CONTROL enum which was unknown.
Copy link
Contributor

@colistro123 colistro123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I suggest leaving this file as-is?

Instead of modifying this file, why not simply update the EnableAllControlActions.md file? While this scenario is unlikely, it is preferable to centralize enums. This way, if updates are needed in the future, they can be made in a single file rather than in multiple locations.

Additionally, changing padIndex to controlType could impact the parameter naming conventions, as most parameters for these kind of natives are currently named padIndex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants