From 313074bca0231fce43266475c771e66ff624d2b7 Mon Sep 17 00:00:00 2001 From: Federico Ruggi <1081051+ruggi@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:17:31 +0100 Subject: [PATCH] hide strategy indicator --- editor/src/components/editor/canvas-toolbar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor/src/components/editor/canvas-toolbar.tsx b/editor/src/components/editor/canvas-toolbar.tsx index 0ae751e3a0b8..00c8ba122792 100644 --- a/editor/src/components/editor/canvas-toolbar.tsx +++ b/editor/src/components/editor/canvas-toolbar.tsx @@ -655,7 +655,9 @@ export const CanvasToolbar = React.memo(() => { , )} {when( - canvasToolbarMode.primary === 'edit' && canvasToolbarMode.secondary === 'strategy-active', + canvasToolbarMode.primary === 'edit' && + canvasToolbarMode.secondary === 'strategy-active' && + !isViewer, , )} {/* Insert Mode */}