mirror of https://github.com/ppy/osu
parent
db10202642
commit
076c8dec5a
|
@ -23,7 +23,7 @@ Right click to only set the origin.
|
||||||
""";
|
""";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorPlaceGrid };
|
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorGridSnap };
|
||||||
|
|
||||||
public override PlacementBlueprint CreatePlacementBlueprint() => new GridPlacementBlueprint();
|
public override PlacementBlueprint CreatePlacementBlueprint() => new GridPlacementBlueprint();
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,7 +178,6 @@ public static class OsuIcon
|
||||||
public static IconUsage EditorWhistle => get(OsuIconMapping.EditorWhistle);
|
public static IconUsage EditorWhistle => get(OsuIconMapping.EditorWhistle);
|
||||||
public static IconUsage Tortoise => get(OsuIconMapping.Tortoise);
|
public static IconUsage Tortoise => get(OsuIconMapping.Tortoise);
|
||||||
public static IconUsage Hare => get(OsuIconMapping.Hare);
|
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);
|
private static IconUsage get(OsuIconMapping glyph) => new IconUsage((char)glyph, FONT_NAME);
|
||||||
|
|
||||||
|
@ -393,9 +392,6 @@ private enum OsuIconMapping
|
||||||
|
|
||||||
[Description(@"hare")]
|
[Description(@"hare")]
|
||||||
Hare,
|
Hare,
|
||||||
|
|
||||||
[Description(@"Editor/place-grid")]
|
|
||||||
EditorPlaceGrid,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class OsuIconStore : ITextureStore, ITexturedGlyphLookupStore
|
public class OsuIconStore : ITextureStore, ITexturedGlyphLookupStore
|
||||||
|
|
Loading…
Reference in New Issue