mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Update comments; Improve neighboring builds handling;
Apply fixes to things pointed out by AppVeyor
This commit is contained in:
@ -5,16 +5,13 @@ using OpenTK;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Cursor;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using System;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public class TooltipIconButton : OsuClickableContainer, IHasTooltip
|
||||
{
|
||||
private readonly SpriteIcon icon;
|
||||
public Action OnPressed;
|
||||
|
||||
public FontAwesome Icon
|
||||
{
|
||||
@ -40,12 +37,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
};
|
||||
}
|
||||
|
||||
protected override bool OnClick(InputState state)
|
||||
{
|
||||
OnPressed?.Invoke();
|
||||
return base.OnClick(state);
|
||||
}
|
||||
|
||||
public string TooltipText { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user