mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add basic pooling setup
This commit is contained in:
@ -60,10 +60,12 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
private CancellationTokenSource starDifficultyCancellationSource;
|
||||
|
||||
public DrawableCarouselBeatmap(CarouselBeatmap panel)
|
||||
: base(panel)
|
||||
{
|
||||
beatmap = panel.Beatmap;
|
||||
Height = HEIGHT;
|
||||
|
||||
// todo: temporary
|
||||
Item = panel;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
@ -79,7 +81,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
if (manager != null)
|
||||
hideRequested = manager.Hide;
|
||||
|
||||
Children = new Drawable[]
|
||||
Content.Children = new Drawable[]
|
||||
{
|
||||
background = new Box
|
||||
{
|
||||
|
Reference in New Issue
Block a user