fix: record midi - setSelectedMidiInputId, snapToScale persist, space stops recording
This commit is contained in:
@@ -7134,6 +7134,10 @@ const App = () => {
|
|||||||
// Global space play/pause shortcut for transport
|
// Global space play/pause shortcut for transport
|
||||||
if (e.key === ' ' || e.code === 'Space') {
|
if (e.key === ' ' || e.code === 'Space') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
if (recordingState === 'RECORDING' || recordingState === 'COUNT_IN') {
|
||||||
|
handleRecordClick();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (handlePlayPauseRef.current) handlePlayPauseRef.current();
|
if (handlePlayPauseRef.current) handlePlayPauseRef.current();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user