diff --git a/packages/editor/src/components/toolbar/toolbarConfigurationBuilder.tsx b/packages/editor/src/components/toolbar/toolbarConfigurationBuilder.tsx index ba27c3ba..3c7ceb52 100644 --- a/packages/editor/src/components/toolbar/toolbarConfigurationBuilder.tsx +++ b/packages/editor/src/components/toolbar/toolbarConfigurationBuilder.tsx @@ -307,14 +307,11 @@ export function buildZoomToolbarConfiguration( return [ { - icon: , - tooltip: $msg('KEYBOARD_SHOTCUTS'), - visible: !capability.isHidden('keyboard-shortcuts'), - options: [ - { - render: () => , - }, - ], + icon: , + tooltip: $msg('CENTER_POSITION'), + onClick: () => { + designer.zoomToFit(); + }, }, { // zoom value candidate, neds to fixit @@ -341,11 +338,14 @@ export function buildZoomToolbarConfiguration( }, }, { - icon: , - tooltip: $msg('CENTER_POSITION'), - onClick: () => { - designer.zoomToFit(); - }, + icon: , + tooltip: $msg('KEYBOARD_SHOTCUTS'), + visible: !capability.isHidden('keyboard-shortcuts'), + options: [ + { + render: () => , + }, + ], }, ]; }