mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 19:12:57 +08:00
Update comments
This commit is contained in:
parent
81786c4763
commit
e1a24f55cf
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user