better song sorting
This commit is contained in:
@@ -52,9 +52,9 @@ export class SongTextComponent implements OnInit {
|
||||
this.offset = 0;
|
||||
this.sections = [];
|
||||
if (this.fullscreen) {
|
||||
setTimeout(() => (this.sections = this.textRenderingService.parse(this.iText, this.iTranspose).sort((a, b) => a.type - b.type)), 100);
|
||||
setTimeout(() => (this.sections = this.textRenderingService.parse(this.iText, this.iTranspose)), 100);
|
||||
} else {
|
||||
this.sections = this.textRenderingService.parse(this.iText, this.iTranspose).sort((a, b) => a.type - b.type);
|
||||
this.sections = this.textRenderingService.parse(this.iText, this.iTranspose); //.sort((a, b) => a.type - b.type);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user