Remove unused function

This commit is contained in:
Stefano Brilli 2021-07-19 14:18:33 +02:00
parent 3c9e3d9eb1
commit f64723d81e
1 changed files with 0 additions and 11 deletions

View File

@ -198,17 +198,6 @@ export function getGroupedTracks(disc: Disc | null) {
return groupedList;
}
export function reverseTimeFormat(time: string) {
if (time.includes('+')) time = time.substring(0, time.indexOf('+')); // Remove frame numbers
const segments = time.split(':');
let seconds = 0;
for (let seg of segments) {
seconds *= 60;
seconds += parseInt(seg);
}
return seconds;
}
export function recomputeGroupsAfterTrackMove(disc: Disc, trackIndex: number, targetIndex: number) {
// Used for moving tracks in netmd-mock and deleting
let offset = trackIndex > targetIndex ? 1 : -1;