Skip to content

Commit

Permalink
Merge pull request #33 from statementreply/bug-offset-text
Browse files Browse the repository at this point in the history
[director] Fix bar time display
  • Loading branch information
hozuki committed Mar 12, 2017
2 parents 2428478 + 2e35ac1 commit 95893ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace StarlightDirector.UI.Controls {
partial class ScoreEditor {

internal void UpdateBarTexts() {
var startTime = 0d;
var startTime = ScoreBars?.FirstOrDefault()?.Bar?.StartTime ?? 0d;
foreach (var scoreBar in ScoreBars) {
scoreBar.UpdateBarIndexText();
scoreBar.UpdateBarTimeText(TimeSpan.FromSeconds(startTime));
Expand Down

0 comments on commit 95893ac

Please sign in to comment.