Carousell -> Carousel

This commit is contained in:
Thomas Müller
2016-11-22 20:10:25 +01:00
parent 2596e71494
commit ba1d3ab20e
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ using System.Linq;
namespace osu.Game.Screens.Select namespace osu.Game.Screens.Select
{ {
class CarousellContainer : ScrollContainer class CarouselContainer : ScrollContainer
{ {
private Container<Panel> scrollableContent; private Container<Panel> scrollableContent;
private List<BeatmapGroup> groups = new List<BeatmapGroup>(); private List<BeatmapGroup> groups = new List<BeatmapGroup>();
@ -24,7 +24,7 @@ namespace osu.Game.Screens.Select
private Cached yPositions = new Cached(); private Cached yPositions = new Cached();
public CarousellContainer() public CarouselContainer()
{ {
DistanceDecayJump = 0.01; DistanceDecayJump = 0.01;

View File

@ -34,7 +34,7 @@ namespace osu.Game.Screens.Select
private BeatmapDatabase database; private BeatmapDatabase database;
protected override BackgroundMode CreateBackground() => new BackgroundModeBeatmap(Beatmap); protected override BackgroundMode CreateBackground() => new BackgroundModeBeatmap(Beatmap);
private CarousellContainer carousell; private CarouselContainer carousell;
private TrackManager trackManager; private TrackManager trackManager;
private Container backgroundWedgesContainer; private Container backgroundWedgesContainer;
@ -83,7 +83,7 @@ namespace osu.Game.Screens.Select
}, },
} }
}, },
carousell = new CarousellContainer carousell = new CarouselContainer
{ {
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
Size = new Vector2(scrollWidth, 1), Size = new Vector2(scrollWidth, 1),