Remove dead code

This commit is contained in:
Robin Gareus 2025-03-04 16:17:29 +01:00
parent 826ad62d91
commit e35b9f8a3e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -281,13 +281,6 @@ StepEditor::step_add_note (uint8_t channel, uint8_t pitch, uint8_t velocity, Tem
if (beat_duration == 0.0) {
beat_duration = StepEntry::instance().note_length();
} else if (beat_duration == 0.0) {
bool success;
beat_duration = _editor.get_draw_length_as_beats (success, step_edit_insert_position);
if (!success) {
return -1;
}
}
MidiStreamView* msv = _mtv.midi_view();