Skip to content

Commit

Permalink
Merge pull request #73 from xendke/patch-2
Browse files Browse the repository at this point in the history
Fix docs typo with menu items
  • Loading branch information
Mark-LaCroix authored Apr 28, 2024
2 parents f359d60 + b9a7919 commit 67536bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Noble.Menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ function Noble.Menu.new(__activate, __alignment, __localized, __color, __padding
-- <strong>You cannot add or remove menu items by modifying this table</strong>.
-- It is meant as a <strong>read-only</strong> table, provided for convenience when iterating, etc. Modifying its values may break other methods.
-- @usage
-- for i = 1, #menu.items, 1 do
-- menu.clickHandlers[menu.items[i]] = nil -- Clears all click handlers, for some reason.
-- for i = 1, #menu.itemNames, 1 do
-- menu.clickHandlers[menu.itemNames[i]] = nil -- Clears all click handlers, for some reason.
-- end
-- @see addItem
menu.itemNames = {}
Expand Down

0 comments on commit 67536bd

Please sign in to comment.