mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Expose generic version of OsuScrollContainer
This commit is contained in:
parent
857417c6e9
commit
02d5b1352b
@ -12,7 +12,19 @@ using osuTK.Input;
|
||||
|
||||
namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
public class OsuScrollContainer : ScrollContainer<Drawable>
|
||||
public class OsuScrollContainer : OsuScrollContainer<Drawable>
|
||||
{
|
||||
public OsuScrollContainer()
|
||||
{
|
||||
}
|
||||
|
||||
public OsuScrollContainer(Direction direction)
|
||||
: base(direction)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class OsuScrollContainer<T> : ScrollContainer<T> where T : Drawable
|
||||
{
|
||||
public const float SCROLL_BAR_HEIGHT = 10;
|
||||
public const float SCROLL_BAR_PADDING = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user