kopia lustrzana https://github.com/backface/turtlestitch
changed spelling of palette
rodzic
96bf69b83e
commit
b82ea9dae5
|
@ -1260,10 +1260,10 @@ IDE_Morph.prototype.createCategories = function () {
|
||||||
if (this.scene.unifiedPalette) {
|
if (this.scene.unifiedPalette) {
|
||||||
categorySelectionAction = scrollToCategory;
|
categorySelectionAction = scrollToCategory;
|
||||||
} else {
|
} else {
|
||||||
categorySelectionAction = changePallete;
|
categorySelectionAction = changePalette;
|
||||||
}
|
}
|
||||||
|
|
||||||
function changePallete(category) {
|
function changePalette(category) {
|
||||||
return () => {
|
return () => {
|
||||||
myself.currentCategory = category;
|
myself.currentCategory = category;
|
||||||
myself.categories.children.forEach(each =>
|
myself.categories.children.forEach(each =>
|
||||||
|
|
Ładowanie…
Reference in New Issue