Skip to content

Commit

Permalink
CActScanningLoudness: nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Ojii committed Dec 31, 2023
1 parent 3ec098a commit 909e1ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TJAPlayer3-f/src/Stages/02.Title/CActScanningLoudness.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public override int On進行描画()
{
return 0;
}
this.ctNowScanningLoudness.t進行Loop();
if (bIsActivelyScanning && TJAPlayer3.Tx.Scanning_Loudness != null)
if (bIsActivelyScanning && TJAPlayer3.Tx.Scanning_Loudness != null && this.ctNowScanningLoudness != null)
{
this.ctNowScanningLoudness.t進行Loop();
TJAPlayer3.Tx.Scanning_Loudness.Opacity = (int)(176.0 + 80.0 * Math.Sin((double)(2 * Math.PI * this.ctNowScanningLoudness.n現在の値 / 100.0)));
TJAPlayer3.Tx.Scanning_Loudness.t2D描画(TJAPlayer3.app.Device, 18 + 89 + 18, 7); // 2018-09-03 twopointzero: display right of Enum_Song, using its width and margin
}

return 0;
}

private CCounter ctNowScanningLoudness;
private CCounter? ctNowScanningLoudness;
}

0 comments on commit 909e1ac

Please sign in to comment.