mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Move constant to a better place
This commit is contained in:
@ -109,6 +109,8 @@ namespace osu.Game.Graphics.Containers
|
|||||||
|
|
||||||
private float lastKnownScroll;
|
private float lastKnownScroll;
|
||||||
|
|
||||||
|
private const float scroll_target_multiplier = 0.2f;
|
||||||
|
|
||||||
public SectionsContainer()
|
public SectionsContainer()
|
||||||
{
|
{
|
||||||
AddRangeInternal(new Drawable[]
|
AddRangeInternal(new Drawable[]
|
||||||
@ -143,8 +145,6 @@ namespace osu.Game.Graphics.Containers
|
|||||||
smallestSection = drawable;
|
smallestSection = drawable;
|
||||||
}
|
}
|
||||||
|
|
||||||
private const float scroll_target_multiplier = 0.2f;
|
|
||||||
|
|
||||||
public void ScrollTo(Drawable section)
|
public void ScrollTo(Drawable section)
|
||||||
{
|
{
|
||||||
lastClickedSection = section;
|
lastClickedSection = section;
|
||||||
|
Reference in New Issue
Block a user