Skip to content

Commit

Permalink
Fixes sugarlabs#4063 Canvas is scrolling on drag and select
Browse files Browse the repository at this point in the history
  • Loading branch information
therealharshit committed Nov 17, 2024
1 parent 148a8ce commit 3ca88d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ class Activity {
that.stageX = event.stageX;
that.stageY = event.stageY;

if (!that.moving) return;
if (!moving) return;

// if we are moving the block container, deselect the active block.
// Deselect active block if moving the block container
Expand Down

0 comments on commit 3ca88d2

Please sign in to comment.