puxiao 2 роки тому
батько
коміт
991f380b52
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      editor/js/libs/ui.js

+ 1 - 1
editor/js/libs/ui.js

@@ -1189,7 +1189,7 @@ class UIListbox extends UIDiv {
 
 			const item = this.items[ i ];
 
-			const listitem = new UIListbox.ListboxItem( this );
+			const listitem = new ListboxItem( this );
 			listitem.setId( item.id || `Listbox-${i}` );
 			listitem.setTextContent( item.name || item.type );
 			this.add( listitem );