try to fix again

This commit is contained in:
Anton Lavrenov 2024-05-23 12:40:59 -05:00
parent 9083dfbbe7
commit f0a7924949
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/). 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 - Fix chrome clear canvas issue
- Typescript fixes - Typescript fixes

View File

@ -971,7 +971,7 @@ Factory.addGetterSetter(Stage, 'container');
// TODO: any other way to solve this issue? // TODO: any other way to solve this issue?
// TODO: should we remove it if chrome fixes the issue? // TODO: should we remove it if chrome fixes the issue?
if (Konva.isBrowser) { if (Konva.isBrowser) {
window.addEventListener('focus', () => { document.addEventListener('visibilitychange', () => {
stages.forEach((stage) => { stages.forEach((stage) => {
stage.batchDraw(); stage.batchDraw();
}); });