1
0
mirror of synced 2026-03-25 20:58:38 +08:00

fix(editor): 画布大小变化,滚动条重置

This commit is contained in:
roymondchen
2022-09-15 14:17:33 +08:00
committed by jia000
parent 10d2b3cc9b
commit bee9f92abb

View File

@@ -40,6 +40,7 @@ export class ScrollViewer extends EventEmitter {
this.setSize();
this.setScrollSize();
this.resizeObserver.observe(this.container);
this.resizeObserver.observe(this.target);
}
public destroy() {