Opening MIDI file stops current MIDI file playback
This commit is contained in:
@@ -182,6 +182,7 @@ namespace Content.Client.Instruments
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MidiStopButtonOnPressed(null);
|
||||||
if (!_owner.Instrument.OpenMidi(filename)) return;
|
if (!_owner.Instrument.OpenMidi(filename)) return;
|
||||||
MidiPlaybackSetButtonsDisabled(false);
|
MidiPlaybackSetButtonsDisabled(false);
|
||||||
if (midiInputButton.Pressed)
|
if (midiInputButton.Pressed)
|
||||||
|
|||||||
Reference in New Issue
Block a user