From d22096cd8314ee9a61973fd4c17dfccefb5719e9 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 8 Oct 2022 16:48:48 -0700 Subject: [PATCH] Change footer buttons order --- .../toolbar/toolbarConfigurationBuilder.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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: () => , + }, + ], }, ]; }