mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 05:01:41 +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.
|
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
|
||||||
|
@ -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();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user