mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Update comments
This commit is contained in:
parent
164a1a8e6e
commit
a817164cb2
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -35,7 +35,6 @@ namespace osu.Game.Overlays.Changelog
|
||||
Padding = new MarginPadding { Horizontal = 70 };
|
||||
Children = new Drawable[]
|
||||
{
|
||||
// build version, arrows
|
||||
new FillFlowContainer
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
@ -176,7 +175,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
},
|
||||
};
|
||||
|
||||
// we may not want double clicks to make it double the work
|
||||
// we may not want double clicks,
|
||||
// can be clicked again only after a delay
|
||||
clickableBuildText.Action += () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user