kopia lustrzana https://github.com/backface/turtlestitch
tweaks
rodzic
7f1b542e73
commit
0b80976c9c
|
@ -2268,7 +2268,6 @@ BlockMorph.prototype.relabel = function (alternativeSelectors) {
|
|||
menu.addItem(
|
||||
block,
|
||||
function () {
|
||||
myself.setCategory(SpriteMorph.prototype.blocks[sel].category);
|
||||
myself.setSelector(sel);
|
||||
}
|
||||
);
|
||||
|
@ -2284,7 +2283,7 @@ BlockMorph.prototype.setSelector = function (aSelector) {
|
|||
var oldInputs = this.inputs(),
|
||||
info;
|
||||
info = SpriteMorph.prototype.blocks[aSelector];
|
||||
this.category = info.category;
|
||||
this.setCategory(info.category);
|
||||
this.selector = aSelector;
|
||||
this.setSpec(localize(info.spec));
|
||||
this.restoreInputs(oldInputs);
|
||||
|
|
Ładowanie…
Reference in New Issue