diff --git a/osu.Game.Tests/Visual/UserInterface/TestSceneOverlayScrollContainer.cs b/osu.Game.Tests/Visual/UserInterface/TestSceneOverlayScrollContainer.cs
index ade950e2d5..77e7178c9e 100644
--- a/osu.Game.Tests/Visual/UserInterface/TestSceneOverlayScrollContainer.cs
+++ b/osu.Game.Tests/Visual/UserInterface/TestSceneOverlayScrollContainer.cs
@@ -126,7 +126,7 @@ public void TestMultipleClicks()
private partial class TestScrollContainer : OverlayScrollContainer
{
- public new ScrollToTopButton Button => base.Button;
+ public new ScrollBackButton Button => base.Button;
}
}
}
diff --git a/osu.Game/Overlays/OverlayScrollContainer.cs b/osu.Game/Overlays/OverlayScrollContainer.cs
index 8176ddb370..9752e04f44 100644
--- a/osu.Game/Overlays/OverlayScrollContainer.cs
+++ b/osu.Game/Overlays/OverlayScrollContainer.cs
@@ -22,23 +22,23 @@
namespace osu.Game.Overlays
{
///
- /// which provides . Mostly used in .
+ /// which provides . Mostly used in .
///
public partial class OverlayScrollContainer : UserTrackingScrollContainer
{
///
- /// Scroll position at which the will be shown.
+ /// Scroll position at which the will be shown.
///
private const int button_scroll_position = 200;
- protected ScrollToTopButton Button;
+ protected ScrollBackButton Button;
private readonly Bindable lastScrollTarget = new Bindable();
[BackgroundDependencyLoader]
private void load()
{
- AddInternal(Button = new ScrollToTopButton
+ AddInternal(Button = new ScrollBackButton
{
Anchor = Anchor.BottomRight,
Origin = Anchor.BottomRight,
@@ -82,7 +82,7 @@ private void scrollBack()
}
}
- public partial class ScrollToTopButton : OsuHoverContainer
+ public partial class ScrollBackButton : OsuHoverContainer
{
private const int fade_duration = 500;
@@ -112,7 +112,7 @@ public Visibility State
public Bindable LastScrollTarget = new Bindable();
- public ScrollToTopButton()
+ public ScrollBackButton()
: base(HoverSampleSet.ScrollToTop)
{
Size = new Vector2(50);