This commit is contained in:
parent
c3d28a35fa
commit
231d30549e
2 changed files with 2 additions and 0 deletions
|
@ -932,6 +932,7 @@ export const openMenuPanel = (options: {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "av-add") {
|
||||
window.siyuan.menus.menu.remove();
|
||||
addView(options.protyle, options.blockElement);
|
||||
avPanelElement.remove();
|
||||
event.preventDefault();
|
||||
|
|
|
@ -288,6 +288,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
focusBlock(e);
|
||||
}
|
||||
}
|
||||
e.querySelector(".layout-tab-bar").scrollLeft = (e.querySelector(".layout-tab-bar .item--focus") as HTMLElement).offsetLeft;
|
||||
if (cb) {
|
||||
cb();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue