From a8d0e232f93c2acf4a8cb2c1eb0876f0f36793f8 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 7 Oct 2020 22:03:58 +0200 Subject: [PATCH] tweaked expanding variadic inputs --- HISTORY.md | 1 + src/blocks.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 6c1d0643..ac36f541 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -24,6 +24,7 @@ * symbols: added "gearPartial" icon * blocks: fixed an empty-slot detection issue (reported in the forums), but left it commented out for now, until researching the consequences ;-) * blocks: increased area / sensitivity for collapsing variadic input slots +* blocks: tweaked expanding variadic inputs ### 2020-10-06 * blocks: disable blurred shadows inside input slots if the hidden "blurred shadows" setting is turned off diff --git a/src/blocks.js b/src/blocks.js index a54f66ba..ed49e69e 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -11683,8 +11683,7 @@ MultiArgMorph.prototype.mouseClickLeft = function (pos) { repetition = target.world().currentKey === 16 ? 3 : 1, i; - // if (rightArrow.bounds.containsPoint(pos)) { - if (pos.x > rightArrow.left()) { + if (rightArrow.bounds.containsPoint(pos)) { for (i = 0; i < repetition; i += 1) { if (rightArrow.isVisible) { target.addInput();