Re-add Insert and Delete shortcuts to editor

This commit is contained in:
Chris Danford
2003-03-16 00:31:23 +00:00
parent ce4fb01d99
commit f4b5b431d4
+9 -1
View File
@@ -121,7 +121,9 @@ Menu g_KeyboardShortcuts
MenuRow( "[ and ]: Decrease/increase sample music start", false ),
MenuRow( "{ and }: Decrease/increase sample music length", 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
@@ -932,6 +934,12 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
HandleAreaMenuChoice( play, NULL );
}
break;
case SDLK_INSERT:
HandleAreaMenuChoice( insert_and_shift, NULL );
break;
case SDLK_DELETE:
HandleAreaMenuChoice( delete_and_shift, NULL );
break;
}
}