mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Run OnSelectionChanged() on each change
This commit is contained in:
@ -257,16 +257,15 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
selectionDetailsText.Text = count > 0 ? count.ToString() : string.Empty;
|
selectionDetailsText.Text = count > 0 ? count.ToString() : string.Empty;
|
||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
|
||||||
Show();
|
Show();
|
||||||
OnSelectionChanged();
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
Hide();
|
Hide();
|
||||||
|
|
||||||
|
OnSelectionChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Triggered whenever more than one object is selected, on each change.
|
/// Triggered whenever the set of selected objects changes.
|
||||||
/// Should update the selection box's state to match supported operations.
|
/// Should update the selection box's state to match supported operations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual void OnSelectionChanged()
|
protected virtual void OnSelectionChanged()
|
||||||
|
Reference in New Issue
Block a user