mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
e2e073b1ed
commit
f8beaf3f70
1 changed files with 1 additions and 1 deletions
|
|
@ -1021,7 +1021,7 @@ export const zoomOut = (options: {
|
||||||
}
|
}
|
||||||
focusBlock(showElement);
|
focusBlock(showElement);
|
||||||
const resizeObserver = new ResizeObserver(() => {
|
const resizeObserver = new ResizeObserver(() => {
|
||||||
scrollCenter(options.protyle, focusElement, true, "smooth");
|
scrollCenter(options.protyle, focusElement, true);
|
||||||
});
|
});
|
||||||
resizeObserver.observe(options.protyle.wysiwyg.element);
|
resizeObserver.observe(options.protyle.wysiwyg.element);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue