mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00:00
Make bashes not use textawesome.
This commit is contained in:
parent
29f303b4d0
commit
051ef61d48
@ -1 +1 @@
|
||||
Subproject commit 4f9ed4e703777ede98737c7e2af31efa4694c395
|
||||
Subproject commit 00406e13d1b15683b3565a126e207b08bca7555f
|
@ -5,6 +5,7 @@ using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Framework.Screens.Testing;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Backgrounds;
|
||||
@ -163,26 +164,27 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
/// </summary>
|
||||
class BashCirclePiece : CirclePiece
|
||||
{
|
||||
private Sprite icon;
|
||||
|
||||
public BashCirclePiece()
|
||||
{
|
||||
Height = 128;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
private void load(OsuColour colours, TextureStore textures)
|
||||
{
|
||||
AccentColour = colours.YellowDark;
|
||||
|
||||
icon.Texture = textures.Get(@"Play/Taiko/bash-hit-inner");
|
||||
}
|
||||
|
||||
protected override Drawable CreateIcon()
|
||||
{
|
||||
return new TextAwesome
|
||||
return icon = new Sprite
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
||||
TextSize = 45f,
|
||||
Icon = FontAwesome.fa_asterisk
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user