1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:15:45 +08:00

Add object type

This commit is contained in:
Dean Herbert 2023-04-04 19:05:50 +09:00
parent c356c163fa
commit b0d5761667

View File

@ -10,6 +10,7 @@ using System.Linq;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Extensions.EnumExtensions; using osu.Framework.Extensions.EnumExtensions;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes; using osu.Framework.Graphics.Shapes;
@ -330,6 +331,9 @@ namespace osu.Game.Rulesets.Edit
inspectorText.Clear(); inspectorText.Clear();
addHeader("Type");
addValue($"{selected.GetType().ReadableName()}");
addHeader("Time"); addHeader("Time");
addValue($"{selected.StartTime:#,0.##}ms"); addValue($"{selected.StartTime:#,0.##}ms");