kopia lustrzana https://github.com/backface/turtlestitch
Update blocks.js
rodzic
10a0e62f23
commit
d577d677d5
|
@ -3821,7 +3821,7 @@ BlockMorph.prototype.copyWithInputs = function (inputs) {
|
||||||
slots = cpy.inputs();
|
slots = cpy.inputs();
|
||||||
slots.forEach((slot) => {
|
slots.forEach((slot) => {
|
||||||
var inp;
|
var inp;
|
||||||
if (slot instanceof MultiArgMorph && !slot.isEmptySlot()) {
|
if (slot instanceof MultiArgMorph && slot.inputs().length) {
|
||||||
slot.inputs().forEach(entry => {
|
slot.inputs().forEach(entry => {
|
||||||
inp = dta[count];
|
inp = dta[count];
|
||||||
if (inp instanceof BlockMorph) {
|
if (inp instanceof BlockMorph) {
|
||||||
|
|
Ładowanie…
Reference in New Issue