kopia lustrzana https://github.com/backface/turtlestitch
tidy up arrow function
rodzic
d8216d2487
commit
e2aec2e7db
|
@ -3071,9 +3071,9 @@ SpriteMorph.prototype.freshPalette = function (category) {
|
||||||
if (category === 'unified') {
|
if (category === 'unified') {
|
||||||
more.unified = Object.values(more).reduce((x, y) => x.concat(y));
|
more.unified = Object.values(more).reduce((x, y) => x.concat(y));
|
||||||
}
|
}
|
||||||
(more[category] || []).forEach(sel => {
|
(more[category] || []).forEach(sel =>
|
||||||
StageMorph.prototype.hiddenPrimitives[sel] = true
|
StageMorph.prototype.hiddenPrimitives[sel] = true
|
||||||
});
|
);
|
||||||
ide.flushBlocksCache(category);
|
ide.flushBlocksCache(category);
|
||||||
ide.refreshPalette();
|
ide.refreshPalette();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue