Skip to content

Commit

Permalink
Merge pull request #28937 from frenzibyte/fix-selection-box-visibility
Browse files Browse the repository at this point in the history
Fix selection box being initially visible on top-left corner in skin editor
  • Loading branch information
peppy authored Jul 19, 2024
2 parents b151bc6 + 614a64c commit 124bc9c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions osu.Game/Screens/Edit/Compose/Components/SelectionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ private void load()
SelectionBox = CreateSelectionBox(),
});

SelectedItems.CollectionChanged += (_, _) =>
{
Scheduler.AddOnce(updateVisibility);
};
SelectedItems.BindCollectionChanged((_, _) => Scheduler.AddOnce(updateVisibility), true);
}

public SelectionBox CreateSelectionBox()
Expand Down

0 comments on commit 124bc9c

Please sign in to comment.