mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 02:03:47 +08:00
try to fix again
This commit is contained in:
parent
9083dfbbe7
commit
f0a7924949
@ -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
|
||||
|
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user