mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 画布大小变化,滚动条重置
This commit is contained in:
parent
10d2b3cc9b
commit
bee9f92abb
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user