mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Change footer buttons order
This commit is contained in:
parent
1e173cd690
commit
d22096cd83
@ -307,14 +307,11 @@ export function buildZoomToolbarConfiguration(
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
icon: <KeyboardOutlined />,
|
icon: <CenterFocusStrongOutlinedIcon />,
|
||||||
tooltip: $msg('KEYBOARD_SHOTCUTS'),
|
tooltip: $msg('CENTER_POSITION'),
|
||||||
visible: !capability.isHidden('keyboard-shortcuts'),
|
onClick: () => {
|
||||||
options: [
|
designer.zoomToFit();
|
||||||
{
|
|
||||||
render: () => <KeyboardShorcutsHelp />,
|
|
||||||
},
|
},
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// zoom value candidate, neds to fixit
|
// zoom value candidate, neds to fixit
|
||||||
@ -341,11 +338,14 @@ export function buildZoomToolbarConfiguration(
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <CenterFocusStrongOutlinedIcon />,
|
icon: <KeyboardOutlined />,
|
||||||
tooltip: $msg('CENTER_POSITION'),
|
tooltip: $msg('KEYBOARD_SHOTCUTS'),
|
||||||
onClick: () => {
|
visible: !capability.isHidden('keyboard-shortcuts'),
|
||||||
designer.zoomToFit();
|
options: [
|
||||||
|
{
|
||||||
|
render: () => <KeyboardShorcutsHelp />,
|
||||||
},
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user