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

[LUA] Update example to show correct list index handling #80

Closed
2 tasks
Local9 opened this issue Feb 3, 2023 · 0 comments
Closed
2 tasks

[LUA] Update example to show correct list index handling #80

Local9 opened this issue Feb 3, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Local9
Copy link
Collaborator

Local9 commented Feb 3, 2023

As Lua starts its index at 1 and not 0, some of the example code is leading to confusion when being used. We should review the code in place for List Items and check the starting index value is 1 as per Lua indexing, and that any examples follow suit.

  • Check UIMenuListItem index handling on creation to make sure the correct value is being used
  • Update example.lua to have the correct starting index values
@Local9 Local9 added the documentation Improvements or additions to documentation label Feb 28, 2023
@Local9 Local9 closed this as completed Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant