Skip to content

Commit

Permalink
try to fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
lavrton committed May 23, 2024
1 parent 9083dfb commit f0a7924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

### 9.3.10 (2024-05-23)
### 9.3.11 (2024-05-23)

- Fix chrome clear canvas issue
- Typescript fixes
Expand Down
2 changes: 1 addition & 1 deletion src/Stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ Factory.addGetterSetter(Stage, 'container');
// TODO: any other way to solve this issue?
// TODO: should we remove it if chrome fixes the issue?
if (Konva.isBrowser) {
window.addEventListener('focus', () => {
document.addEventListener('visibilitychange', () => {
stages.forEach((stage) => {
stage.batchDraw();
});
Expand Down

0 comments on commit f0a7924

Please sign in to comment.