mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Add comment + xmldoc
This commit is contained in:
parent
783c172b5d
commit
f00c23b4a0
@ -337,6 +337,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
/// <returns>Whether a selection was performed.</returns>
|
/// <returns>Whether a selection was performed.</returns>
|
||||||
private bool beginClickSelection(MouseButtonEvent e)
|
private bool beginClickSelection(MouseButtonEvent e)
|
||||||
{
|
{
|
||||||
|
// Iterate from the top of the input stack (blueprints closest to the front of the screen first).
|
||||||
foreach (SelectionBlueprint blueprint in SelectionBlueprints.AliveChildren.Reverse())
|
foreach (SelectionBlueprint blueprint in SelectionBlueprints.AliveChildren.Reverse())
|
||||||
{
|
{
|
||||||
if (!blueprint.IsHovered) continue;
|
if (!blueprint.IsHovered) continue;
|
||||||
|
@ -6,9 +6,13 @@ using osu.Framework.Bindables;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Game.Rulesets.Edit;
|
using osu.Game.Rulesets.Edit;
|
||||||
|
using osu.Game.Rulesets.Objects;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Compose.Components
|
namespace osu.Game.Screens.Edit.Compose.Components
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// A container for <see cref="SelectionBlueprint"/> ordered by their <see cref="HitObject"/> start times.
|
||||||
|
/// </summary>
|
||||||
public sealed class HitObjectOrderedSelectionContainer : Container<SelectionBlueprint>
|
public sealed class HitObjectOrderedSelectionContainer : Container<SelectionBlueprint>
|
||||||
{
|
{
|
||||||
public override void Add(SelectionBlueprint drawable)
|
public override void Add(SelectionBlueprint drawable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user