fix
This commit is contained in:
@@ -47,7 +47,6 @@ namespace BrewMonster
|
||||
var a_pSCS = new List<CECShortcutSet>();
|
||||
var a_pszPanel = new List<string>();
|
||||
GetQuickBarNameAndSC(pHost, a_pszPanel, a_pSCS, nCurPanel9, nCurPanel8);
|
||||
|
||||
if (a_pSCS == null || a_pSCS.Count < 2)
|
||||
return false;
|
||||
|
||||
@@ -62,14 +61,22 @@ namespace BrewMonster
|
||||
|
||||
int slotIndex = 0;
|
||||
#endif
|
||||
|
||||
#if LICENSE_VERSION
|
||||
|
||||
for (int j = 0; j < a_pSCS.Count; j++)
|
||||
{
|
||||
#else
|
||||
int nSlots = Mathf.Min(a_pSCS[i].GetShortcutNum(), AUIImagePictureList.Count);
|
||||
for (int j = 0; j < nSlots; j++)
|
||||
{
|
||||
{
|
||||
#endif
|
||||
#if LICENSE_VERSION
|
||||
|
||||
pCell = AUIImagePictureList[slotIndex];
|
||||
#endif
|
||||
#else
|
||||
pCell = AUIImagePictureList[j];
|
||||
#endif
|
||||
pSC = a_pSCS[i].GetShortcut(j);
|
||||
pClock = pCell.GetClockIcon();
|
||||
pClock.SetProgressRange(0, 1);
|
||||
@@ -331,7 +338,7 @@ namespace BrewMonster
|
||||
if (pSC != null)
|
||||
{
|
||||
#if LICENSE_VERSION
|
||||
slotIndex++;
|
||||
slotIndex++;
|
||||
#endif
|
||||
if (pCell.GetDataPtr() == pSC)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user