mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 17:33:18 +08:00
Fix binding direction of selected items
This commit is contained in:
parent
dd3d8e5d03
commit
f97b14a20a
@ -29,8 +29,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
|
|
||||||
// bring in updates from selection changes
|
// bring in updates from selection changes
|
||||||
EditorBeatmap.HitObjectUpdated += _ => Scheduler.AddOnce(UpdateTernaryStates);
|
EditorBeatmap.HitObjectUpdated += _ => Scheduler.AddOnce(UpdateTernaryStates);
|
||||||
EditorBeatmap.SelectedHitObjects.BindTo(SelectedItems);
|
|
||||||
|
|
||||||
|
SelectedItems.BindTo(EditorBeatmap.SelectedHitObjects);
|
||||||
SelectedItems.CollectionChanged += (sender, args) =>
|
SelectedItems.CollectionChanged += (sender, args) =>
|
||||||
{
|
{
|
||||||
Scheduler.AddOnce(UpdateTernaryStates);
|
Scheduler.AddOnce(UpdateTernaryStates);
|
||||||
|
Loading…
Reference in New Issue
Block a user