internal override void Draw() { bool activePointSet = currentActivePoint != null; bool beatSyncing = (!activePointSet && AudioEngine.BeatSyncing) || (activePointSet && currentActivePoint.BeatLength > 0); if (beatSyncing) { beatBpmDisplay.Text = String.Format(KeyboardHandler.ControlPressed ? @"{0:0.000}" : @"{0:0.00}", 60000 / (activePointSet ? currentActivePoint.BeatLength : AudioEngine.BeatLength)); beatOffsetDisplay.Text = String.Format(@"{0:#,0}", (activePointSet ? currentActivePoint.Offset : AudioEngine.CurrentOffset)); sliderVelocityDisplay.Text = String.Format(@"{0:N2}", BeatmapManager.Current.DifficultySliderMultiplier); sliderTickDisplay.Text = String.Format(@"{0}", BeatmapManager.Current.DifficultySliderTickRate); beatDisplay.Text = String.Format(@"{0}:{1}", Metronome.CurrentStanza, Metronome.CurrentBeat); } else { beatDisplay.Text = LocalisationManager.GetString(OsuString.EditorModeTiming_TimingSectionNotTimed); beatBpmDisplay.Text = @"-"; beatOffsetDisplay.Text = @"-"; } spriteManagerCentre.Draw(); base.Draw(); Metronome.Draw(); }