Added Letters category to media library

This commit is contained in:
Nathan Dinsmore 2014-06-12 18:43:33 -04:00
parent 0e44a7389a
commit e0cdc38517

View file

@ -39,7 +39,7 @@ public class MediaLibrary extends Sprite {
private static const backdropCategories:Array = [
'All', 'Indoors', 'Outdoors', 'Other'];
private static const costumeCategories:Array = [
'All', 'Animals', 'Fantasy', 'People', 'Things', 'Transportation'];
'All', 'Animals', 'Fantasy', 'Letters', 'People', 'Things', 'Transportation'];
private static const extensionCategories:Array = [
'All', 'Hardware'];
private static const soundCategories:Array = [
@ -344,7 +344,7 @@ spriteFeaturesFilter.visible = false; // disable features filter for now
ScratchExtension.WeDo()];
allItems = [];
for each (var ext:ScratchExtension in extList) {
allItems.push(new MediaLibraryItem({
allItems.push(new MediaLibraryItem({
extension: ext,
name: ext.name,
md5: ext.thumbnailMD5,
@ -352,7 +352,7 @@ spriteFeaturesFilter.visible = false; // disable features filter for now
}));
}
showFilteredItems();
startLoadingThumbnails();
startLoadingThumbnails();
}
private function stripComments(s:String):String {