feat(core): update split view icons and texts (#6193)

This commit is contained in:
Brooooooklyn
2024-03-20 14:30:35 +00:00
parent a8a1074a8a
commit 32ab0693e2
4 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
"@blocksuite/block-std": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/blocks": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/global": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/icons": "2.1.45",
"@blocksuite/icons": "2.1.46",
"@blocksuite/inline": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/lit": "0.13.0-canary-202403140735-2367cd5",
"@blocksuite/presets": "0.13.0-canary-202403140735-2367cd5",
@@ -2,9 +2,9 @@ import { MenuIcon, MenuItem } from '@affine/component';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import {
ExpandCloseIcon,
KeepThisOneIcon,
MoveToLeftIcon,
MoveToRightIcon,
SoloViewIcon,
} from '@blocksuite/icons';
import { useSortable } from '@dnd-kit/sortable';
import { useService } from '@toeverything/infra/di';
@@ -158,7 +158,7 @@ const SplitViewMenu = ({ view }: { view: View }) => {
views.length > 1 ? (
<MenuItem
onClick={handleCloseOthers}
preFix={<MenuIcon icon={<KeepThisOneIcon />} />}
preFix={<MenuIcon icon={<SoloViewIcon />} />}
>
{t['com.affine.workbench.split-view-menu.keep-this-one']()}
</MenuItem>