diff --git a/js/activity.js b/js/activity.js index 18e58cf91d..9148dfba7e 100644 --- a/js/activity.js +++ b/js/activity.js @@ -1243,6 +1243,8 @@ class Activity { this.setSmallerLargerStatus(); } + this.activity.refreshCanvas(); + document.getElementById('hideContents').click(); }; /* @@ -1269,6 +1271,8 @@ class Activity { } this.setSmallerLargerStatus(); + this.activity.refreshCanvas(); + document.getElementById('hideContents').click(); }; /* diff --git a/js/blocks.js b/js/blocks.js index f82b30248c..baff1399e9 100644 --- a/js/blocks.js +++ b/js/blocks.js @@ -6823,6 +6823,9 @@ class Blocks { this._cleanupStacks(); this.activity.refreshCanvas(); } + this.activity.refreshCanvas(); + this.activity.trashcan.stopHighlightAnimation(); + document.getElementById('hideContents').click(); }; /***