mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Move constant to a better place
This commit is contained in:
parent
0fcf61d352
commit
8f9089d1ae
@ -109,6 +109,8 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
private float lastKnownScroll;
|
||||
|
||||
private const float scroll_target_multiplier = 0.2f;
|
||||
|
||||
public SectionsContainer()
|
||||
{
|
||||
AddRangeInternal(new Drawable[]
|
||||
@ -143,8 +145,6 @@ namespace osu.Game.Graphics.Containers
|
||||
smallestSection = drawable;
|
||||
}
|
||||
|
||||
private const float scroll_target_multiplier = 0.2f;
|
||||
|
||||
public void ScrollTo(Drawable section)
|
||||
{
|
||||
lastClickedSection = section;
|
||||
|
Loading…
Reference in New Issue
Block a user