From dedd4561a12e725ff68e3bcc990a319a92ad47e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 9 Jul 2017 19:41:36 +0300 Subject: [PATCH] Display indices rather than one-based numbers --- osu-framework | 2 +- osu.Desktop.VisualTests/Tests/TestCaseBeatSyncedContainer.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osu-framework b/osu-framework index 1242968326..3c76bce457 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 1242968326461ec1d7e1fb6877b12658d7e1644c +Subproject commit 3c76bce45762765b7268f8036da681a788f756b9 diff --git a/osu.Desktop.VisualTests/Tests/TestCaseBeatSyncedContainer.cs b/osu.Desktop.VisualTests/Tests/TestCaseBeatSyncedContainer.cs index 27c2467cb9..95e24dd6fa 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseBeatSyncedContainer.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseBeatSyncedContainer.cs @@ -158,9 +158,9 @@ namespace osu.Desktop.VisualTests.Tests base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes); timingPointCount.Value = timingPoints.Count; - currentTimingPoint.Value = timingPoints.IndexOf(timingPoint) + 1; + currentTimingPoint.Value = timingPoints.IndexOf(timingPoint); beatCount.Value = calculateBeatCount(timingPoint); - currentBeat.Value = beatIndex + 1; + currentBeat.Value = beatIndex; beatsPerMinute.Value = 60000 / timingPoint.BeatLength; adjustedBeatLength.Value = timingPoint.BeatLength;