1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Center focus if Config_ItemBox_Count is not 10

This commit is contained in:
0auBSQ 2022-11-16 07:10:21 +09:00
parent 1df08dabe2
commit 41be5d2af1

View File

@ -607,6 +607,7 @@ namespace TJAPlayer3
private void tGenerateSkinSample()
{
nSkinIndex = ( ( CItemList ) this.list項目リスト[ this.n現在の選択項目 ] ).n現在選択されている項目番号;
if ( nSkinSampleIndex != nSkinIndex )
{
@ -1042,7 +1043,7 @@ namespace TJAPlayer3
#region [ 11]
//-----------------
int nItem = this.n現在の選択項目;
for( int i = 0; i < 4; i++ )
for( int i = 0; i < (TJAPlayer3.Skin.Config_ItemBox_Count / 2) - 1; i++ )
nItem = this.t前の項目( nItem );
for( int i = 0; i < TJAPlayer3.Skin.Config_ItemBox_Count; i++ ) // n行番号 == 0 がフォーカスされている項目パネル。