kopia lustrzana https://github.com/backface/turtlestitch
Merge pull request #253 from nathandinsmore/issue-244
Fixed issue #244 (relabelling now preserves empty input slots)pull/3/merge
commit
e29787cdc7
|
@ -2256,7 +2256,7 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) {
|
|||
if (old instanceof ReporterBlockMorph) {
|
||||
myself.silentReplaceInput(inp, old.fullCopy());
|
||||
} else if (old && inp instanceof InputSlotMorph) {
|
||||
inp.setContents(old.evaluate());
|
||||
inp.setContents(old.contents().text);
|
||||
}
|
||||
i += 1;
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue