Update comments

This commit is contained in:
Houtarou Oreki
2018-08-22 13:49:08 +02:00
parent 164a1a8e6e
commit a817164cb2
3 changed files with 4 additions and 7 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Graphics.UserInterface
private bool isHorizontal;
/// <summary>
/// Automatically sets the RelativeSizeAxes and switches X and Y components when changed.
/// Automatically sets the RelativeSizeAxes and switches X and Y size components when changed.
/// </summary>
public bool IsHorizontal
{

View File

@ -14,8 +14,6 @@ using System;
namespace osu.Game.Graphics.UserInterface
{
// not inheriting osuclickablecontainer/osuhovercontainer
// because click/hover sounds cannot be disabled
/// <summary>
/// An icon with an action upon click that can be disabled.
/// </summary>
@ -26,14 +24,14 @@ namespace osu.Game.Graphics.UserInterface
private SampleChannel sampleClick;
/// <summary>
/// The action to fire upon click, if <see cref="IsEnabled"/> is set to true.
/// The action to fire upon click if <see cref="IsEnabled"/> is set to true.
/// </summary>
public Action Action;
private bool isEnabled;
/// <summary>
/// If set to true, upon click the <see cref="Action"/> will execute. It wont otherwise.
/// If set to true, upon click the <see cref="Action"/> will execute.
/// </summary>
public bool IsEnabled
{