mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 15:52:55 +08:00
Merge pull request #28937 from frenzibyte/fix-selection-box-visibility
Fix selection box being initially visible on top-left corner in skin editor
This commit is contained in:
commit
124bc9c43b
@ -85,10 +85,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
SelectionBox = CreateSelectionBox(),
|
||||
});
|
||||
|
||||
SelectedItems.CollectionChanged += (_, _) =>
|
||||
{
|
||||
Scheduler.AddOnce(updateVisibility);
|
||||
};
|
||||
SelectedItems.BindCollectionChanged((_, _) => Scheduler.AddOnce(updateVisibility), true);
|
||||
}
|
||||
|
||||
public SelectionBox CreateSelectionBox()
|
||||
|
Loading…
Reference in New Issue
Block a user