Change footer buttons order

This commit is contained in:
Paulo Gustavo Veiga 2022-10-08 16:48:48 -07:00
parent 1e173cd690
commit d22096cd83

View File

@ -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 />,
},
],
}, },
]; ];
} }