Skip to content

Commit

Permalink
Fixed the graphics display not clearing when a new project was loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilccbrown committed Dec 9, 2024
1 parent 4bf2bf9 commit 662716b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/PythonExecutionArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,9 @@ export default Vue.extend({
}
this.isRunningStrypeGraphics = false;
pressedKeys.clear();
// Important not to use the accessor here as that will switch to the tab:
persistentImageManager.clear();
this.redrawCanvas();
},
getPersistentImageManager() : PersistentImageManager {
Expand Down

0 comments on commit 662716b

Please sign in to comment.