From ce6a9549e1808e776bd43bdb73d55440a0ddfc20 Mon Sep 17 00:00:00 2001 From: Ryan Di Date: Tue, 23 Sep 2025 17:46:25 +1000 Subject: [PATCH] swapping redo and delete --- packages/excalidraw/components/Actions.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/excalidraw/components/Actions.tsx b/packages/excalidraw/components/Actions.tsx index 7e2f848ba3..35bcb34b32 100644 --- a/packages/excalidraw/components/Actions.tsx +++ b/packages/excalidraw/components/Actions.tsx @@ -917,9 +917,9 @@ export const MobileShapeActions = ({ const ADDITIONAL_WIDTH = WIDTH + GAP; - const showDeleteOutside = width >= MIN_WIDTH; - const showDuplicateOutside = width >= MIN_WIDTH + 2 * ADDITIONAL_WIDTH; - const showRedoOutside = width >= MIN_WIDTH + 3 * ADDITIONAL_WIDTH; + const showRedoOutside = width >= MIN_WIDTH + 1 * ADDITIONAL_WIDTH; + const showDeleteOutside = width >= 2 * MIN_WIDTH; + const showDuplicateOutside = width >= MIN_WIDTH + 3 * ADDITIONAL_WIDTH; return (