1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Don't consider editor table content for input

This commit is contained in:
Andrei Zavatski 2024-04-21 17:40:35 +03:00
parent b9b341affd
commit 722fa228ce

View File

@ -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;