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:
parent
73107dbc07
commit
2b468ad926
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit 3f8299aba4e308a6c86ce8f499b697de04909ad2
|
||||
Subproject commit 9098a1df39f1320f2ea65fbac674b410ea3829dd
|
|
@ -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.';
|
||||
|
|
Loading…
Reference in a new issue