mirror of
https://github.com/ppy/osu
synced 2024-12-27 01:12:45 +00:00
Add missing lincense header, remove unnecessary comment and field.
This commit is contained in:
parent
3d23dda3b4
commit
756e7a6a67
@ -1,4 +1,7 @@
|
||||
using System;
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using OpenTK.Input;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics;
|
||||
|
@ -1,4 +1,7 @@
|
||||
using OpenTK;
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics;
|
||||
|
@ -14,7 +14,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
private Sprite buttonSprite;
|
||||
private Sprite glowSprite;
|
||||
private Container textLayer;
|
||||
private SpriteText keySpriteText;
|
||||
private SpriteText countSpriteText;
|
||||
|
||||
public override string Name { get; }
|
||||
@ -71,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Origin = Anchor.Centre,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
keySpriteText = new SpriteText
|
||||
new SpriteText
|
||||
{
|
||||
Text = Name,
|
||||
Anchor = Anchor.Centre,
|
||||
|
@ -16,7 +16,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
|
||||
private List<KeyCounter> counters = new List<KeyCounter>();
|
||||
//default capacity is 4, and osu! uses 4 keys usually, so it won't trouble
|
||||
public IReadOnlyList<KeyCounter> Counters => counters;
|
||||
|
||||
public void AddKey(KeyCounter key)
|
||||
|
Loading…
Reference in New Issue
Block a user