From cc1cd75a8082b52bc22a1c68f10d04c6e95a3229 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 19 Jun 2020 20:10:16 +0200 Subject: [PATCH] commented out default value restoration (under construction) --- src/blocks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blocks.js b/src/blocks.js index ebe62b02..d3759487 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -3227,6 +3227,7 @@ BlockMorph.prototype.setSelector = function (aSelector, inputOffset = 0) { surplus = this.restoreInputs(oldInputs, -inputOffset); this.fixLabelColor(); +/* // restore default values slots = this.inputs(); if (slots[0] instanceof MultiArgMorph) { @@ -3239,6 +3240,7 @@ BlockMorph.prototype.setSelector = function (aSelector, inputOffset = 0) { } } } +*/ // place surplus blocks on scipts if (scripts && surplus.length) {