You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
If you want to reorder a PopupMenu's elements you need to modify an oddly complex array of objects manually. It seems strange that rather than being stored in a dictionary, these elements are just appended to the end of the array.
Steps to reproduce:
Access the .items property of a PopupMenu and you will see what I mean by the ordering being weirdly complex.
Minimal reproduction project:
N/A
Suggestion:
Perhaps document the items property and turn items into dictionaries that are stored in an array instead of appending each new item's properties onto the end of a single array.
The text was updated successfully, but these errors were encountered:
Godot version:
3.2.stable.official
OS/device including version:
Windows 10 - 1909
Issue description:
If you want to reorder a PopupMenu's elements you need to modify an oddly complex array of objects manually. It seems strange that rather than being stored in a dictionary, these elements are just appended to the end of the array.
e.g.
[Open, [Object:null], 0, False, False, 0, 0, Null, , False,
Save, [Object:null], 0, False, False, 0, 0, Null, , False,
Save As, [Object:null], 0, False, False, 0, 0, Null, , False]
Steps to reproduce:
Access the .items property of a PopupMenu and you will see what I mean by the ordering being weirdly complex.
Minimal reproduction project:
N/A
Suggestion:
Perhaps document the items property and turn items into dictionaries that are stored in an array instead of appending each new item's properties onto the end of a single array.
The text was updated successfully, but these errors were encountered: