mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-09 05:09:39 +00:00
Fix preview in cases where both delay and offset are specified
This commit is contained in:
@@ -93,7 +93,7 @@ export class ChartSidebarPreviewComponent implements OnInit, OnDestroy {
|
||||
this.audioFiles,
|
||||
this.instrument,
|
||||
this.difficulty,
|
||||
(this.selectedChart.delay ?? 0) + (this.selectedChart.chart_offset ?? 0) * 1000,
|
||||
this.selectedChart.delay ?? (this.selectedChart.chart_offset ?? 0) * 1000,
|
||||
this.selectedChart.song_length ?? 5 * 60 * 1000,
|
||||
this.previewDiv.nativeElement,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user