GUI: fix note input not working when step playing

This commit is contained in:
tildearrow 2025-03-12 18:32:30 -05:00
parent c5dca3cc52
commit 96405706a8

View file

@ -1260,7 +1260,7 @@ void FurnaceGUI::noteInput(int num, int key, int vol) {
int tick=0;
int speed=0;
if (e->isPlaying()) {
if (e->isPlaying() && !e->isStepping()) {
e->getPlayPosTick(ord,y,tick,speed);
if (tick<=(speed/2)) { // round
// TODO: detect 0Dxx/0Bxx?
@ -1335,7 +1335,7 @@ void FurnaceGUI::valueInput(int num, bool direct, int target) {
int ord=curOrder;
int y=cursor.y;
if (e->isPlaying()) {
if (e->isPlaying() && !e->isStepping()) {
e->getPlayPos(ord,y);
}