diff --git a/src/components/music/SongEditor.tsx b/src/components/music/SongEditor.tsx index dcd2ae4e4..9f378e1bc 100644 --- a/src/components/music/SongEditor.tsx +++ b/src/components/music/SongEditor.tsx @@ -242,28 +242,30 @@ export const SongEditor = () => { - - - {selectedEffectCell !== null ? ( + + + {selectedEffectCell !== null ? ( +
- ) : instrumentData ? ( - <> - - +
+ ) : instrumentData ? ( + <> + + - {/* { {l10n("MENU_VARIABLE_COPY_EMBED_CHAR")} */} - + - - + + + + {instrumentEditorTab === "main" ? ( + <> + {renderInstrumentEditor( + selectedInstrument.type, + instrumentData, + song.waves + )} + + ) : ( + - - - {instrumentEditorTab === "main" ? ( - <> - {renderInstrumentEditor( - selectedInstrument.type, - instrumentData, - song.waves - )} - - ) : ( - - )} - - - ) : ( - "" - )} -
-
+ )} + + + ) : ( + "" + )} + ); };