From 1980bd87280a9b9da06509becd3c76c4874e762b Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 10 Apr 2020 13:54:47 +0800 Subject: [PATCH] Fix issue with drag drop --- src/App.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 9d7fd070..8f15f45c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1605,7 +1605,7 @@ const App = memo(() => { return () => window.removeEventListener('keydown', keyScrollPreventer); }, []); - const sideBarWidth = showSideBar ? 200 : 0; + const sideBarWidth = showSideBar && isFileOpened ? 200 : 0; const bottomBarHeight = 96 + ((hasAudio && waveformEnabled) || (hasVideo && thumbnailsEnabled) ? timelineHeight : 0); @@ -1717,7 +1717,7 @@ const App = memo(() => { )} -
+
{/* eslint-disable-next-line jsx-a11y/media-has-caption */}