fix(pick): ignore universal-mode strums while playback is running

The pick only starts the piece. A later strum must not restart the preamble or change the chord.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yuquanjun 2026-10-09 17:28:15 +08:00
parent 8c8c728752
commit 3fab5024a9
1 changed files with 10 additions and 0 deletions

View File

@ -1708,6 +1708,16 @@ void Pick_Handle()
return;
}
/* 万能(及设置页沿用万能):拨片只负责启动。播放行进中再拨不换和弦、不重开前奏。 */
if (StartFlag &&
(mGuiData[GUI_TAB_INDEX].Current == 0 ||
(mGuiData[GUI_TAB_INDEX].Current == 3 &&
mGuiData[GUI_TAB_LAST_INDEX].Current == 0)))
{
LOG_I("pick", "universal skip: already started");
return;
}
/* 左手未触发和弦板(或落在拍速/停止键)时:拨片默认发当前调一级大和弦伴奏。
* 普通无指板也可起奏:用专业/普通记下的最后指板和弦,无记录才退回一级;无操作则偶拍停。 */
{