mirror of
https://github.com/ppy/osu
synced 2025-02-20 12:26:59 +00:00
Fix selection box initialy visible despite no items selected
This commit is contained in:
parent
868604ca04
commit
a570949459
@ -85,10 +85,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
SelectionBox = CreateSelectionBox(),
|
||||
});
|
||||
|
||||
SelectedItems.CollectionChanged += (_, _) =>
|
||||
{
|
||||
Scheduler.AddOnce(updateVisibility);
|
||||
};
|
||||
SelectedItems.BindCollectionChanged((_, _) => Scheduler.AddOnce(updateVisibility), true);
|
||||
}
|
||||
|
||||
public SelectionBox CreateSelectionBox()
|
||||
|
Loading…
Reference in New Issue
Block a user