1
0
mirror of synced 2024-11-24 07:30:21 +01:00

0.6.0.12 - Fix TJA not inserting timing space for ,-only measures

- Fix TJA not inserting timing space for `,`-only measures
This commit is contained in:
Wei-Cheng Yeh (IID) 2024-11-01 05:48:08 +08:00 committed by GitHub
parent 60c9246cfa
commit b6ef120e02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4876,6 +4876,12 @@ internal class CTja : CActivity {
for (int n = 0; n < InputText.Length; n++) { for (int n = 0; n < InputText.Length; n++) {
if (InputText.Substring(n, 1) == ",") { if (InputText.Substring(n, 1) == ",") {
if (n文字数 == 0) {
this.dbLastTime = this.dbNowTime;
this.dbLastBMScrollTime = this.dbNowBMScollTime;
this.dbNowTime += (15000.0 / this.dbNowBPM * (this.fNow_Measure_s / this.fNow_Measure_m) * (16.0 / 1));
this.dbNowBMScollTime += (((this.fNow_Measure_s / this.fNow_Measure_m)) * (16.0 / 1));
}
this.n現在の小節数++; this.n現在の小節数++;
this.b小節線を挿入している = false; this.b小節線を挿入している = false;
return; return;