diff --git a/osu.Game/Graphics/UserInterface/ProgressBar.cs b/osu.Game/Graphics/UserInterface/ProgressBar.cs
index 4ee1c73bf5..50367e600e 100644
--- a/osu.Game/Graphics/UserInterface/ProgressBar.cs
+++ b/osu.Game/Graphics/UserInterface/ProgressBar.cs
@@ -40,13 +40,18 @@ namespace osu.Game.Graphics.UserInterface
set => CurrentNumber.Value = value;
}
- private readonly bool userInteractive;
- public override bool HandlePositionalInput => userInteractive;
- public override bool HandleNonPositionalInput => userInteractive;
+ private readonly bool allowSeek;
- public ProgressBar(bool userInteractive)
+ public override bool HandlePositionalInput => allowSeek;
+ public override bool HandleNonPositionalInput => allowSeek;
+
+ ///
+ /// Construct a new progress bar.
+ ///
+ /// Whether the user should be allowed to click/drag to adjust the value.
+ public ProgressBar(bool allowSeek)
{
- this.userInteractive = userInteractive;
+ this.allowSeek = allowSeek;
CurrentNumber.MinValue = 0;
CurrentNumber.MaxValue = 1;