forked from cafeberry/cafeberry
added some kbm stuff
This commit is contained in:
@@ -137,18 +137,22 @@ void UIScene_FireworksMenu::GetItemScreenData( ESceneSection eSection, int iItem
|
||||
case eSectionFireworksIngredients:
|
||||
sectionSize.x = m_slotList3x3.getWidth();
|
||||
sectionSize.y = m_slotList3x3.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotList3x3, sectionSize);
|
||||
break;
|
||||
case eSectionFireworksResult:
|
||||
sectionSize.x = m_slotListResult.getWidth();
|
||||
sectionSize.y = m_slotListResult.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListResult, sectionSize);
|
||||
break;
|
||||
case eSectionFireworksInventory:
|
||||
sectionSize.x = m_slotListInventory.getWidth();
|
||||
sectionSize.y = m_slotListInventory.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListInventory, sectionSize);
|
||||
break;
|
||||
case eSectionFireworksUsing:
|
||||
sectionSize.x = m_slotListHotbar.getWidth();
|
||||
sectionSize.y = m_slotListHotbar.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListHotbar, sectionSize);
|
||||
break;
|
||||
default:
|
||||
assert( false );
|
||||
|
||||
Reference in New Issue
Block a user