mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 18:47:27 +08:00
Don't consider editor table content for input
This commit is contained in:
parent
b9b341affd
commit
722fa228ce
@ -30,6 +30,10 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
protected readonly FillFlowContainer<RowBackground> BackgroundFlow;
|
||||
|
||||
// We can avoid potentially thousands of objects being added to the input sub-tree since item selection is being handled by the BackgroundFlow
|
||||
// and no items in the underlying table are clickable.
|
||||
protected override bool ShouldBeConsideredForInput(Drawable child) => base.ShouldBeConsideredForInput(child) && child == BackgroundFlow;
|
||||
|
||||
protected EditorTable()
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
|
Loading…
Reference in New Issue
Block a user