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 [
|
||||
{
|
||||
icon: <KeyboardOutlined />,
|
||||
tooltip: $msg('KEYBOARD_SHOTCUTS'),
|
||||
visible: !capability.isHidden('keyboard-shortcuts'),
|
||||
options: [
|
||||
{
|
||||
render: () => <KeyboardShorcutsHelp />,
|
||||
},
|
||||
],
|
||||
icon: <CenterFocusStrongOutlinedIcon />,
|
||||
tooltip: $msg('CENTER_POSITION'),
|
||||
onClick: () => {
|
||||
designer.zoomToFit();
|
||||
},
|
||||
},
|
||||
{
|
||||
// zoom value candidate, neds to fixit
|
||||
@ -341,11 +338,14 @@ export function buildZoomToolbarConfiguration(
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: <CenterFocusStrongOutlinedIcon />,
|
||||
tooltip: $msg('CENTER_POSITION'),
|
||||
onClick: () => {
|
||||
designer.zoomToFit();
|
||||
},
|
||||
icon: <KeyboardOutlined />,
|
||||
tooltip: $msg('KEYBOARD_SHOTCUTS'),
|
||||
visible: !capability.isHidden('keyboard-shortcuts'),
|
||||
options: [
|
||||
{
|
||||
render: () => <KeyboardShorcutsHelp />,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user