Skip to content

Commit

Permalink
fix space around operators
Browse files Browse the repository at this point in the history
  • Loading branch information
apsinghdev committed May 22, 2024
1 parent 0022fad commit b19ec29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -5068,7 +5068,7 @@ class Activity {

this.setupMouseEvents();

document.addEventListener("mousemove", (event)=>{
document.addEventListener("mousemove", (event) => {
this.hasMouseMoved = true;
event.preventDefault();
// this.selectedBlocks = [];
Expand All @@ -5085,15 +5085,15 @@ class Activity {
}
})

document.addEventListener("mouseup", (event)=>{
document.addEventListener("mouseup", (event) => {
event.preventDefault();
this.isDragging = false;
this.selectionArea.style.display = "none";
this.startX = 0;
this.startY = 0;
this.currentX = 0;
this.currentY = 0;
setTimeout(()=>{
setTimeout(() => {
this.hasMouseMoved = false;
}, 100);
})
Expand Down Expand Up @@ -5146,7 +5146,7 @@ class Activity {
let selectedBlocks = [];
this.dragRect = this.dragArea;

this.blocks.blockList.forEach((block)=>{
this.blocks.blockList.forEach((block) => {
this.blockRect = {
x: this.scrollBlockContainer ? block.container.x + this.blocksContainer.x : block.container.x,
y: block.container.y + this.blocksContainer.y,
Expand Down
2 changes: 1 addition & 1 deletion js/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -7029,7 +7029,7 @@ class Blocks {
this.activity.setSelectionMode(selection);
};

this.unhighlightSelectedBlocks = (blk, selection) =>{
this.unhighlightSelectedBlocks = (blk, selection) => {
this.blockList[blk].unhighlightSelectedBlocks(blk, selection);
};

Expand Down

0 comments on commit b19ec29

Please sign in to comment.