GUI: fix piano not playing current sample

This commit is contained in:
tildearrow 2022-11-05 14:50:44 -05:00
parent 7ccefe6d40
commit 086d9a12b0
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ void FurnaceGUI::drawPiano() {
break;
case GUI_WINDOW_SAMPLE_LIST:
case GUI_WINDOW_SAMPLE_EDIT:
e->previewSample(curWave,note);
e->previewSample(curSample,note);
break;
default:
e->synchronized([this,note]() {