GUI: don't allow drag-and-drop during intro
This commit is contained in:
parent
ebed2936af
commit
8a9ac46545
|
|
@ -3544,6 +3544,10 @@ bool FurnaceGUI::loop() {
|
|||
break;
|
||||
case SDL_DROPFILE:
|
||||
if (ev.drop.file!=NULL) {
|
||||
if (introPos<11.0) {
|
||||
SDL_free(ev.drop.file);
|
||||
break;
|
||||
}
|
||||
int sampleCountBefore=e->song.sampleLen;
|
||||
std::vector<DivInstrument*> instruments=e->instrumentFromFile(ev.drop.file,true,settings.readInsNames);
|
||||
DivWavetable* droppedWave=NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue