From acfe5f24fe74bf199e22dde17b07b939eac0ee79 Mon Sep 17 00:00:00 2001 From: divyansh Date: Sat, 6 Apr 2024 23:16:41 +0530 Subject: [PATCH] Resolves #3849 --- js/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/block.js b/js/block.js index 49a417ca83..4dea79dc37 100644 --- a/js/block.js +++ b/js/block.js @@ -2819,7 +2819,7 @@ class Block { let topBlk; const dx = event.stageX / that.activity.getStageScale() - that.container.x; - if (!moved && that.isCollapsible() && dx < 30 / that.activity.getStageScale()) { + if (that.isCollapsible() && dx < 30 / that.activity.getStageScale()) { that.collapseToggle(); } else if ((!window.hasMouse && getInput) || (window.hasMouse && !moved)) { if (that.name === "media") {