1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 16:20:30 +08:00
Files
osu-lazer/osu.Game.Rulesets.Osu/Edit/SpinnerCompositionTool.cs
T
Krzysztof Gutkowski 3e6233072c Update editor icons (#37201)
Brings in new fresh icons for the toolbox (select, hitcircle, slider,
spinner, grid) and toggles (new combo, whistle, finish, clap,
grid/distance snap).

Depends on https://github.com/ppy/osu-resources/pull/416.

| Before | After |
|--------|--------|
| <img width="300" height="897" alt="image"
src="https://github.com/user-attachments/assets/279ea162-c3e2-4312-a0a2-39ad08df16f9"
/> | <img width="304" height="889" alt="image"
src="https://github.com/user-attachments/assets/aab2a143-0e6b-45c1-bf84-8998c12bd960"
/> |
2026-04-10 20:27:21 +09:00

26 lines
826 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Tools;
using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets.Osu.Edit
{
public class SpinnerCompositionTool : CompositionTool
{
public SpinnerCompositionTool()
: base(nameof(Spinner))
{
}
public override Drawable CreateIcon() => new SpriteIcon { Icon = OsuIcon.EditorSpinner };
public override HitObjectPlacementBlueprint CreatePlacementBlueprint() => new SpinnerPlacementBlueprint();
}
}