1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-08-20 07:25:59 +00:00

Fix issue where changing width of dropdown would cause a crash

This commit is contained in:
EliteMasterEric 2023-11-02 17:40:00 -04:00
parent 73107dbc07
commit 2b468ad926
2 changed files with 2 additions and 1 deletions

2
assets

@ -1 +1 @@
Subproject commit 3f8299aba4e308a6c86ce8f499b697de04909ad2
Subproject commit 9098a1df39f1320f2ea65fbac674b410ea3829dd

View file

@ -411,6 +411,7 @@ class ChartEditorToolboxHandler
case ENUM:
var dropDown:DropDown = new DropDown();
dropDown.id = field.name;
dropDown.width = 200.0;
dropDown.dataSource = new ArrayDataSource();
if (field.keys == null) throw 'Field "${field.name}" is of Enum type but has no keys.';