mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
The menu no longer extends beyond the window (#15401)
* 💄 The menu no longer extends beyond the window fix https://github.com/siyuan-note/siyuan/issues/15400 * 🎨 The menu no longer extends beyond the window fix https://github.com/siyuan-note/siyuan/issues/15400 * 🎨 The menu no longer extends beyond the window fix https://github.com/siyuan-note/siyuan/issues/15400 * 🎨 The menu no longer extends beyond the window fix https://github.com/siyuan-note/siyuan/issues/15400
This commit is contained in:
parent
e95d2d955f
commit
606986c0ca
5 changed files with 83 additions and 34 deletions
|
|
@ -68,6 +68,7 @@ export const init = (app: App) => {
|
|||
resizeTimeout = window.setTimeout(() => {
|
||||
adjustLayout(window.siyuan.layout.centerLayout);
|
||||
resizeTabs();
|
||||
window.siyuan.menus.menu.resetPosition();
|
||||
if (getSelection().rangeCount > 0) {
|
||||
const range = getSelection().getRangeAt(0);
|
||||
getAllEditor().forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue