fix frame in SetPoint call
m (→Example) |
(fix frame in SetPoint call) |
||
| Line 31: | Line 31: | ||
-- Make the menu appear at the cursor: | -- Make the menu appear at the cursor: | ||
EasyMenu( | EasyMenu(menu, menuFrame, "cursor", 0 , 0, "MENU"); | ||
-- Or make the menu appear at the frame: | -- Or make the menu appear at the frame: | ||
menuFrame:SetPoint("Center", UIParent, "Center") | |||
EasyMenu( | EasyMenu(menu, menuFrame, menuFrame, 0 , 0, "MENU"); | ||
==Notes== | ==Notes== | ||