Removed logovisualisation changes

Now depends on https://github.com/ppy/osu/pull/9236 for accent color changes to apply
This commit is contained in:
Shivam 2020-06-08 21:26:48 +02:00
parent e821d787b4
commit d52e3f9386
2 changed files with 2 additions and 7 deletions

View File

@ -101,7 +101,6 @@ private void load(TextureStore textures)
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Alpha = 0.5f,
IsIntro = true,
AccentColour = Color4.DarkBlue,
Size = new Vector2(0.96f)
},

View File

@ -70,7 +70,6 @@ public class LogoVisualisation : Drawable, IHasAccentColour
private IShader shader;
private readonly Texture texture;
public bool IsIntro = false;
private Bindable<User> user;
private Bindable<Skin> skin;
@ -89,11 +88,8 @@ private void load(ShaderManager shaders, IBindable<WorkingBeatmap> beatmap, IAPI
user = api.LocalUser.GetBoundCopy();
skin = skinManager.CurrentSkin.GetBoundCopy();
if (!IsIntro)
{
user.ValueChanged += _ => updateColour();
skin.BindValueChanged(_ => updateColour(), true);
}
user.ValueChanged += _ => updateColour();
skin.BindValueChanged(_ => updateColour(), true);
}
private void updateAmplitudes()