1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 19:12:57 +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 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 public class ClickableText : OsuSpriteText, IHasTooltip
{ {
private bool isEnabled; private bool isEnabled;

View File

@ -15,8 +15,7 @@ using System;
namespace osu.Game.Graphics.UserInterface namespace osu.Game.Graphics.UserInterface
{ {
// not inheriting osuclickablecontainer/osuhovercontainer // not inheriting osuclickablecontainer/osuhovercontainer
// because click/hover sounds cannot be disabled, and they make // because click/hover sounds cannot be disabled
// double sounds when reappearing under the cursor
public class TooltipIconButton : ClickableContainer, IHasTooltip public class TooltipIconButton : ClickableContainer, IHasTooltip
{ {
private readonly SpriteIcon icon; private readonly SpriteIcon icon;