1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 06:43:20 +08:00

Fix binding direction of selected items

This commit is contained in:
Dean Herbert 2021-04-27 18:15:24 +09:00
parent dd3d8e5d03
commit f97b14a20a

View File

@ -29,8 +29,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
// bring in updates from selection changes
EditorBeatmap.HitObjectUpdated += _ => Scheduler.AddOnce(UpdateTernaryStates);
EditorBeatmap.SelectedHitObjects.BindTo(SelectedItems);
SelectedItems.BindTo(EditorBeatmap.SelectedHitObjects);
SelectedItems.CollectionChanged += (sender, args) =>
{
Scheduler.AddOnce(UpdateTernaryStates);