mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Add inline comment to the custom implementation of multiple-selection tab items
This commit is contained in:
parent
9e69268676
commit
24e8b88320
@ -128,6 +128,9 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
protected override bool OnClick(ClickEvent e)
|
||||
{
|
||||
base.OnClick(e);
|
||||
|
||||
// this tab item implementation is not managed by a TabControl,
|
||||
// therefore we have to manually update Active state and play select sound when this tab item is clicked.
|
||||
Active.Toggle();
|
||||
SelectSample.Play();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user