mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 04:23:00 +08:00
Use new place grid icon
This commit is contained in:
parent
533ed609fb
commit
db10202642
@ -23,7 +23,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
""";
|
||||
}
|
||||
|
||||
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorGridSnap };
|
||||
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorPlaceGrid };
|
||||
|
||||
public override PlacementBlueprint CreatePlacementBlueprint() => new GridPlacementBlueprint();
|
||||
}
|
||||
|
@ -178,6 +178,7 @@ namespace osu.Game.Graphics
|
||||
public static IconUsage EditorWhistle => get(OsuIconMapping.EditorWhistle);
|
||||
public static IconUsage Tortoise => get(OsuIconMapping.Tortoise);
|
||||
public static IconUsage Hare => get(OsuIconMapping.Hare);
|
||||
public static IconUsage EditorPlaceGrid => get(OsuIconMapping.EditorPlaceGrid);
|
||||
|
||||
private static IconUsage get(OsuIconMapping glyph) => new IconUsage((char)glyph, FONT_NAME);
|
||||
|
||||
@ -392,6 +393,9 @@ namespace osu.Game.Graphics
|
||||
|
||||
[Description(@"hare")]
|
||||
Hare,
|
||||
|
||||
[Description(@"Editor/place-grid")]
|
||||
EditorPlaceGrid,
|
||||
}
|
||||
|
||||
public class OsuIconStore : ITextureStore, ITexturedGlyphLookupStore
|
||||
|
Loading…
Reference in New Issue
Block a user