Skip to content

Commit

Permalink
Solving rendering problems during the trash events (#3322)
Browse files Browse the repository at this point in the history
* Solving rendering problems during the trash events

* Fixing spacing
  • Loading branch information
MohitGupta14 authored Aug 6, 2023
1 parent 7911644 commit bb3374f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,8 @@ class Activity {

this.setSmallerLargerStatus();
}
this.activity.refreshCanvas();
document.getElementById('hideContents').click();
};

/*
Expand All @@ -1269,6 +1271,8 @@ class Activity {
}

this.setSmallerLargerStatus();
this.activity.refreshCanvas();
document.getElementById('hideContents').click();
};

/*
Expand Down
3 changes: 3 additions & 0 deletions js/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -6823,6 +6823,9 @@ class Blocks {
this._cleanupStacks();
this.activity.refreshCanvas();
}
this.activity.refreshCanvas();
this.activity.trashcan.stopHighlightAnimation();
document.getElementById('hideContents').click();
};

/***
Expand Down

0 comments on commit bb3374f

Please sign in to comment.