1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 17:02:55 +08:00

Update comments

This commit is contained in:
HoutarouOreki 2018-07-25 20:31:26 +02:00
parent 81786c4763
commit e1a24f55cf
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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;