diff --git a/src/App.tsx b/src/App.tsx
index 496eedf..23ed982 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1150,19 +1150,6 @@ export default function App() {
-
{ dispatch({ type: 'activate', id }); setSourceMode(false) }}
- onClose={closeTab}
- onCloseOthers={(id) => requestClose(state.tabs.filter((t) => t.id !== id).map((t) => t.id), () => dispatch({ type: 'closeOthers', id }))}
- onCloseRight={(id) => {
- const idx = state.tabs.findIndex((t) => t.id === id)
- requestClose(state.tabs.slice(idx + 1).map((t) => t.id), () => dispatch({ type: 'closeRight', id }))
- }}
- onNew={newDoc}
- onMove={(id, toIndex) => dispatch({ type: 'move', id, toIndex })}
- />
{ui.sidebar && (
@@ -1185,6 +1172,20 @@ export default function App() {
/>
)}
+
+
{ dispatch({ type: 'activate', id }); setSourceMode(false) }}
+ onClose={closeTab}
+ onCloseOthers={(id) => requestClose(state.tabs.filter((t) => t.id !== id).map((t) => t.id), () => dispatch({ type: 'closeOthers', id }))}
+ onCloseRight={(id) => {
+ const idx = state.tabs.findIndex((t) => t.id === id)
+ requestClose(state.tabs.slice(idx + 1).map((t) => t.id), () => dispatch({ type: 'closeRight', id }))
+ }}
+ onNew={newDoc}
+ onMove={(id, toIndex) => dispatch({ type: 'move', id, toIndex })}
+ />
{!tab && (
@@ -1284,6 +1285,7 @@ export default function App() {
/>
)}
+