mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 07:32:34 +01:00
This commit is contained in:
parent
8d6c422af0
commit
ef03fd4cb3
11 changed files with 55 additions and 76 deletions
|
|
@ -1022,7 +1022,7 @@ export const zoomOut = (options: {
|
|||
}
|
||||
focusBlock(showElement);
|
||||
const resizeObserver = new ResizeObserver(() => {
|
||||
scrollCenter(options.protyle, focusElement, {position: "top"});
|
||||
scrollCenter(options.protyle, focusElement, "start");
|
||||
});
|
||||
resizeObserver.observe(options.protyle.wysiwyg.element);
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue