Little hack : make the kart selection screen seem faster by moving the cursor immediately, and loading the kart model only on next frame. See #2216
This commit is contained in:
parent
da6133d72e
commit
e35d5a07b4
@ -890,7 +890,7 @@ void KartSelectionScreen::updateKartWidgetModel(uint8_t widget_id,
|
|||||||
const SpeedWeightedObject& obj = kart_model.getSpeedWeightedObject((int)i);
|
const SpeedWeightedObject& obj = kart_model.getSpeedWeightedObject((int)i);
|
||||||
w3->addModel(obj.m_model, obj.m_position);
|
w3->addModel(obj.m_model, obj.m_position);
|
||||||
}
|
}
|
||||||
w3->update(0);
|
//w3->update(0);
|
||||||
|
|
||||||
m_kart_widgets[widget_id].m_kart_name
|
m_kart_widgets[widget_id].m_kart_name
|
||||||
->setText( selectionText.c_str(), false );
|
->setText( selectionText.c_str(), false );
|
||||||
|
Loading…
Reference in New Issue
Block a user