Skip to content

Commit

Permalink
hide secondary bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed Dec 6, 2023
1 parent 7dfc52f commit c835e9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/src/components/editor/canvas-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,9 @@ export const CanvasToolbar = React.memo(() => {
</div>
{/* Edit Mode submenus */}
{when(
canvasToolbarMode.primary === 'edit' && canvasToolbarMode.secondary === 'selected',
canvasToolbarMode.primary === 'edit' &&
canvasToolbarMode.secondary === 'selected' &&
!isViewer,
<>
{when(
insertMenuMode === 'closed',
Expand Down

0 comments on commit c835e9c

Please sign in to comment.