[default] hotkey to refresh noteskins without having to refresh everything
This commit is contained in:
+2
-1
@@ -1289,8 +1289,9 @@ bool HandleGlobalInputs( const InputEventPlus &input )
|
|||||||
{
|
{
|
||||||
if( bIsShiftHeld && !bIsCtrlHeld )
|
if( bIsShiftHeld && !bIsCtrlHeld )
|
||||||
{
|
{
|
||||||
// Shift+F2: refresh metrics and CodeDetector cache only
|
// Shift+F2: refresh metrics,noteskin cache and CodeDetector cache only
|
||||||
THEME->ReloadMetrics();
|
THEME->ReloadMetrics();
|
||||||
|
NOTESKIN->RefreshNoteSkinData( GAMESTATE->m_pCurGame );
|
||||||
CodeDetector::RefreshCacheItems();
|
CodeDetector::RefreshCacheItems();
|
||||||
SCREENMAN->SystemMessage( RELOADED_METRICS );
|
SCREENMAN->SystemMessage( RELOADED_METRICS );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user