From: yyagi Date: Wed, 19 Oct 2016 13:42:37 +0000 (+0800) Subject: #36720 Fixed to work Beat line display (Ch C2) correctly X-Git-Tag: Release099f~3^2~21 X-Git-Url: http://git.sourceforge.jp/view?p=dtxmania%2Fdtxmania.git;a=commitdiff_plain;h=cc91644035082c35b54f5165ad40361ea5efd056 #36720 Fixed to work Beat line display (Ch C2) correctly --- diff --git a/DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通_描画.cs b/DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通_描画.cs index 84b8d35d..1d8fd3c5 100644 --- a/DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通_描画.cs +++ b/DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通_描画.cs @@ -387,14 +387,17 @@ namespace DTXMania int jy = CDTXMania.Instance.ConfigIni.cdJudgeLineY[inst]; int jw = CDTXMania.Instance.Coordinates.Instrument[inst].W; //小節線・拍線 - for (int offsetX = 0; offsetX < jw; offsetX += rc.Width) + if (pChip.b可視) { - int x = jx + offsetX; - if (offsetX + rc.Width > jw) + for ( int offsetX = 0; offsetX < jw; offsetX += rc.Width ) { - rc.Width = jw - offsetX; + int x = jx + offsetX; + if ( offsetX + rc.Width > jw ) + { + rc.Width = jw - offsetX; + } + this.txチップ.t2D描画( CDTXMania.Instance.Device, x, y, rc ); } - this.txチップ.t2D描画(CDTXMania.Instance.Device, x, y, rc); } if ( pChip[EChannel.BarLine] && diff --git a/実行時フォルダ/DTXManiaGR.exe b/実行時フォルダ/DTXManiaGR.exe index ff216ed6..35d90118 100644 Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ