From f9e2f591557e777a2be2aa7f7df074c3012400ad Mon Sep 17 00:00:00 2001 From: Erick Sanhueza Date: Sat, 2 Oct 2021 17:08:40 -0300 Subject: [PATCH] move scroll sync button to status bar change scroll sync icons to represent current status of the setting --- src/cloud/components/Editor/index.tsx | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/cloud/components/Editor/index.tsx b/src/cloud/components/Editor/index.tsx index b9e894056a..cf7196cc80 100644 --- a/src/cloud/components/Editor/index.tsx +++ b/src/cloud/components/Editor/index.tsx @@ -103,6 +103,7 @@ import { } from '../../lib/subscription' import { nginxSizeLimitInMb } from '../../lib/upload' import CustomizedMarkdownPreviewer from '../MarkdownView/CustomizedMarkdownPreviewer' +import BottomBarButton from '../BottomBarButton' type LayoutMode = 'split' | 'preview' | 'editor' @@ -1067,20 +1068,6 @@ const Editor = ({ settings['general.showEditorToolbar'] && ( - + + +