[default] hotkey to refresh noteskins without having to refresh everything

This commit is contained in:
Jonathan Payne
2011-10-14 15:18:55 -07:00
parent 5ac274edf6
commit c6498250b2
+2 -1
View File
@@ -1289,8 +1289,9 @@ bool HandleGlobalInputs( const InputEventPlus &input )
{
if( bIsShiftHeld && !bIsCtrlHeld )
{
// Shift+F2: refresh metrics and CodeDetector cache only
// Shift+F2: refresh metrics,noteskin cache and CodeDetector cache only
THEME->ReloadMetrics();
NOTESKIN->RefreshNoteSkinData( GAMESTATE->m_pCurGame );
CodeDetector::RefreshCacheItems();
SCREENMAN->SystemMessage( RELOADED_METRICS );
}