diff --git a/app/appearance/icons/ant/icon.js b/app/appearance/icons/ant/icon.js index 90ea4cdbb..5448fc449 100644 --- a/app/appearance/icons/ant/icon.js +++ b/app/appearance/icons/ant/icon.js @@ -1,5 +1,11 @@ document.body.insertAdjacentHTML('afterBegin', ` + + + + + + diff --git a/app/appearance/icons/ant/icon.json b/app/appearance/icons/ant/icon.json index bf78a5650..d86b8b144 100644 --- a/app/appearance/icons/ant/icon.json +++ b/app/appearance/icons/ant/icon.json @@ -2,5 +2,5 @@ "name": "ant", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.4.0" + "version": "1.5.0" } diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.html index 4189ad621..af0493d00 100644 --- a/app/appearance/icons/index.html +++ b/app/appearance/icons/index.html @@ -28,6 +28,18 @@

SiYuan

+
+ + + + iconLayoutBottom +
+
+ + + + iconLayoutRight +
diff --git a/app/appearance/icons/material/icon.js b/app/appearance/icons/material/icon.js index f148cfd13..71ddcad92 100644 --- a/app/appearance/icons/material/icon.js +++ b/app/appearance/icons/material/icon.js @@ -1,5 +1,11 @@ document.body.insertAdjacentHTML('afterbegin', ` + + + + + + diff --git a/app/appearance/icons/material/icon.json b/app/appearance/icons/material/icon.json index d67872cab..8e8b235cd 100644 --- a/app/appearance/icons/material/icon.json +++ b/app/appearance/icons/material/icon.json @@ -2,5 +2,5 @@ "name": "material", "author": "Vanessa", "url": "https://github.com/Vanessa219", - "version": "1.4.0" + "version": "1.5.0" } diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts index dc081db6a..5fb78a6cf 100644 --- a/app/src/menus/navigation.ts +++ b/app/src/menus/navigation.ts @@ -245,14 +245,14 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement: } /// #if !MOBILE const openSubmenus: IMenu[] = [{ - icon: "iconRight", + icon: "iconLayoutRight", label: window.siyuan.languages.insertRight, accelerator: "⌥Click", click: () => { openFileById({id, position: "right", action: [Constants.CB_GET_FOCUS]}); } }, { - icon: "iconDown", + icon: "iconLayoutBottom", label: window.siyuan.languages.insertBottom, click: () => { openFileById({id, position: "bottom", action: [Constants.CB_GET_FOCUS]}); diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index b34c4d7b0..01b9994c9 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -116,7 +116,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => { }).element); window.siyuan.menus.menu.append(new MenuItem({ label: window.siyuan.languages.insertRight, - icon: "iconRight", + icon: "iconLayoutRight", accelerator: window.siyuan.config.keymap.editor.general.insertRight.custom + "/⌥Click", click() { fetchPost("/api/block/checkBlockFold", {id: refBlockId}, (foldResponse) => { @@ -131,7 +131,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => { }).element); window.siyuan.menus.menu.append(new MenuItem({ label: window.siyuan.languages.insertBottom, - icon: "iconDown", + icon: "iconLayoutBottom", accelerator: window.siyuan.config.keymap.editor.general.insertBottom.custom + (window.siyuan.config.keymap.editor.general.insertBottom.custom ? "/" : "") + "⇧Click", click() { fetchPost("/api/block/checkBlockFold", {id: refBlockId}, (foldResponse) => { diff --git a/app/src/menus/tab.ts b/app/src/menus/tab.ts index e9b8418ed..13cf4e712 100644 --- a/app/src/menus/tab.ts +++ b/app/src/menus/tab.ts @@ -122,7 +122,7 @@ const splitSubMenu = (tab: Tab) => { }]; if (tab.parent.children.length > 1) { subMenus.push({ - icon: "iconRight", + icon: "iconLayoutRight", label: window.siyuan.languages.splitMoveR, click: () => { const newWnd = tab.parent.split("lr"); @@ -142,7 +142,7 @@ const splitSubMenu = (tab: Tab) => { if (tab.parent.children.length > 1) { subMenus.push({ - icon: "iconDown", + icon: "iconLayoutBottom", label: window.siyuan.languages.splitMoveB, click: () => { const newWnd = tab.parent.split("tb");