mirror of
https://github.com/ppy/osu
synced 2025-02-27 08:01:45 +00:00
Change from BDL to Resolved
This commit is contained in:
parent
e0ae2b3ebf
commit
7cf225520f
@ -20,7 +20,8 @@ namespace osu.Game.Storyboards.Drawables
|
||||
|
||||
private Sprite drawableSprite;
|
||||
|
||||
private TextureStore storyboardTextureStore;
|
||||
[Resolved]
|
||||
private TextureStore storyboardTextureStore { get; set; }
|
||||
|
||||
private string texturePath;
|
||||
|
||||
@ -121,7 +122,7 @@ namespace osu.Game.Storyboards.Drawables
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ISkinSource skin, IBindable<WorkingBeatmap> beatmap, TextureStore textureStore)
|
||||
private void load(IBindable<WorkingBeatmap> beatmap)
|
||||
{
|
||||
InternalChild = drawableSprite = new Sprite
|
||||
{
|
||||
@ -129,8 +130,6 @@ namespace osu.Game.Storyboards.Drawables
|
||||
Origin = Anchor.Centre
|
||||
};
|
||||
|
||||
storyboardTextureStore = textureStore;
|
||||
|
||||
texturePath = beatmap.Value.BeatmapSetInfo?.Files?.Find(f => f.Filename.Equals(Sprite.Path, StringComparison.OrdinalIgnoreCase))?.FileInfo.StoragePath;
|
||||
|
||||
Sprite.ApplyTransforms(this);
|
||||
|
Loading…
Reference in New Issue
Block a user