Re-add Insert and Delete shortcuts to editor
This commit is contained in:
@@ -121,7 +121,9 @@ Menu g_KeyboardShortcuts
|
|||||||
MenuRow( "[ and ]: Decrease/increase sample music start", false ),
|
MenuRow( "[ and ]: Decrease/increase sample music start", false ),
|
||||||
MenuRow( "{ and }: Decrease/increase sample music length", false ),
|
MenuRow( "{ and }: Decrease/increase sample music length", false ),
|
||||||
MenuRow( "M: Play sample music", false ),
|
MenuRow( "M: Play sample music", false ),
|
||||||
MenuRow( "B: Add/Edit Background Change", false )
|
MenuRow( "B: Add/Edit Background Change", false ),
|
||||||
|
MenuRow( "Insert: Insert beat and shift down", false ),
|
||||||
|
MenuRow( "Delete: Delete beat and shift up", false )
|
||||||
);
|
);
|
||||||
|
|
||||||
Menu g_MainMenu
|
Menu g_MainMenu
|
||||||
@@ -932,6 +934,12 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
|
|||||||
HandleAreaMenuChoice( play, NULL );
|
HandleAreaMenuChoice( play, NULL );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case SDLK_INSERT:
|
||||||
|
HandleAreaMenuChoice( insert_and_shift, NULL );
|
||||||
|
break;
|
||||||
|
case SDLK_DELETE:
|
||||||
|
HandleAreaMenuChoice( delete_and_shift, NULL );
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user