kopia lustrzana https://github.com/backface/turtlestitch
Merging changes from Snap 4.0.10
rodzic
44375cec74
commit
bc0a90f788
|
@ -1513,13 +1513,15 @@ IDE_Morph.prototype.projectMenu = function () {
|
||||||
);
|
);
|
||||||
menu.addItem(
|
menu.addItem(
|
||||||
'Libraries...',
|
'Libraries...',
|
||||||
createMediaMenu(
|
function() {
|
||||||
'libraries',
|
myself.getURL(
|
||||||
function loadLib(file, name) {
|
myself.resourceURL('libraries', 'LIBRARIES'),
|
||||||
var url = myself.resourceURL('libraries', file);
|
function (txt) {
|
||||||
myself.droppedText(myself.getURL(url), name);
|
var libraries = myself.parseResourceFile(txt);
|
||||||
}
|
new LibraryImportDialogMorph(myself, libraries).popUp();
|
||||||
),
|
}
|
||||||
|
);
|
||||||
|
},
|
||||||
'Select categories of additional blocks to add to this project.'
|
'Select categories of additional blocks to add to this project.'
|
||||||
);
|
);
|
||||||
menu.popup(world, pos);
|
menu.popup(world, pos);
|
||||||
|
|
Ładowanie…
Reference in New Issue