GUI: fix piano not playing current sample
This commit is contained in:
parent
7ccefe6d40
commit
086d9a12b0
|
@ -405,7 +405,7 @@ void FurnaceGUI::drawPiano() {
|
||||||
break;
|
break;
|
||||||
case GUI_WINDOW_SAMPLE_LIST:
|
case GUI_WINDOW_SAMPLE_LIST:
|
||||||
case GUI_WINDOW_SAMPLE_EDIT:
|
case GUI_WINDOW_SAMPLE_EDIT:
|
||||||
e->previewSample(curWave,note);
|
e->previewSample(curSample,note);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
e->synchronized([this,note]() {
|
e->synchronized([this,note]() {
|
||||||
|
|
Loading…
Reference in New Issue