mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 17:02:55 +08:00
Update comments
This commit is contained in:
parent
81786c4763
commit
e1a24f55cf
@ -12,6 +12,10 @@ using System;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
// created a new class instead of using a Link in
|
||||
// some kind of textflowcontainer because they aren't
|
||||
// capable of having delegates/actions on click
|
||||
// and (probably) can't be disabled
|
||||
public class ClickableText : OsuSpriteText, IHasTooltip
|
||||
{
|
||||
private bool isEnabled;
|
||||
|
@ -15,8 +15,7 @@ using System;
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
// not inheriting osuclickablecontainer/osuhovercontainer
|
||||
// because click/hover sounds cannot be disabled, and they make
|
||||
// double sounds when reappearing under the cursor
|
||||
// because click/hover sounds cannot be disabled
|
||||
public class TooltipIconButton : ClickableContainer, IHasTooltip
|
||||
{
|
||||
private readonly SpriteIcon icon;
|
||||
|
Loading…
Reference in New Issue
Block a user