mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix binding direction of selected items
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user