mirror of
https://github.com/ppy/osu
synced 2025-02-21 13:07:18 +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(),
|
SelectionBox = CreateSelectionBox(),
|
||||||
});
|
});
|
||||||
|
|
||||||
SelectedItems.CollectionChanged += (_, _) =>
|
SelectedItems.BindCollectionChanged((_, _) => Scheduler.AddOnce(updateVisibility), true);
|
||||||
{
|
|
||||||
Scheduler.AddOnce(updateVisibility);
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public SelectionBox CreateSelectionBox()
|
public SelectionBox CreateSelectionBox()
|
||||||
|
Loading…
Reference in New Issue
Block a user