Skip to content

Commit

Permalink
Resolves sugarlabs#3849
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanash911 committed Apr 6, 2024
1 parent e44efae commit acfe5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit acfe5f2

Please sign in to comment.