Tidy up a couple of lines

snap8
Michael Ball 2022-03-10 10:42:49 -08:00 zatwierdzone przez GitHub
rodzic 2504dfd140
commit 8bcd64a714
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -9160,7 +9160,6 @@ LibraryImportDialogMorph.prototype.cachedPalette = function (key) {
return this.libraryCache.get(key).palette;
};
LibraryImportDialogMorph.prototype.importLibrary = function () {
if (!this.listField.selected) {return; }
@ -9172,7 +9171,6 @@ LibraryImportDialogMorph.prototype.importLibrary = function () {
SpriteMorph.prototype.customCategories = this.originalCategories;
if (this.hasCached(selectedLibrary)) {
console.log('Loading from cache: ', this.libraryCache)
blocks = this.cachedLibrary(selectedLibrary);
blocks.forEach(def => {
def.receiver = ide.stage;